diff options
Diffstat (limited to 'isisd/isis_circuit.c')
| -rw-r--r-- | isisd/isis_circuit.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index 20ce0f1fad..75d4397637 100644 --- a/isisd/isis_circuit.c +++ b/isisd/isis_circuit.c @@ -382,10 +382,12 @@ static uint8_t isis_circuit_id_gen(struct interface *ifp) /* Circuit ids MUST be unique for any broadcast circuits. Otherwise, * Pseudo-Node LSPs cannot be generated correctly. * - * Currently, allocate one circuit ID for any circuit, limiting the total + * Currently, allocate one circuit ID for any circuit, limiting the + * total * numer of circuits IS-IS can run on to 255. * - * We should revisit this when implementing 3-way adjacencies for p2p, since + * We should revisit this when implementing 3-way adjacencies for p2p, + * since * we then have extended interface IDs available. */ uint8_t id = ifp->ifindex; @@ -398,7 +400,8 @@ static uint8_t isis_circuit_id_gen(struct interface *ifp) } if (i == 256) { - zlog_warn("Could not allocate a circuit id for '%s'", ifp->name); + zlog_warn("Could not allocate a circuit id for '%s'", + ifp->name); return 0; } @@ -1349,7 +1352,8 @@ void isis_circuit_schedule_lsp_send(struct isis_circuit *circuit) { if (circuit->t_send_lsp) return; - circuit->t_send_lsp = thread_add_event(master, send_lsp, circuit, 0, NULL); + circuit->t_send_lsp = + thread_add_event(master, send_lsp, circuit, 0, NULL); } void isis_circuit_queue_lsp(struct isis_circuit *circuit, struct isis_lsp *lsp) |
