Skip to content

Commit

Permalink
fabricd: never flood back through the incoming interface
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
  • Loading branch information
cfra committed Nov 10, 2018
1 parent 3759776 commit 37212c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions isisd/isis_lsp.c
Expand Up @@ -1999,13 +1999,13 @@ void lsp_set_all_srmflags(struct isis_lsp *lsp, bool set)

void lsp_flood(struct isis_lsp *lsp, struct isis_circuit *circuit)
{
if (!fabricd) {
if (!fabricd)
lsp_set_all_srmflags(lsp, true);
if (circuit)
isis_tx_queue_del(circuit->tx_queue, lsp);
} else {
else
fabricd_lsp_flood(lsp);
}

if (circuit)
isis_tx_queue_del(circuit->tx_queue, lsp);
}

static int lsp_handle_adj_state_change(struct isis_adjacency *adj)
Expand Down

0 comments on commit 37212c4

Please sign in to comment.