summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isisd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c
index 9a9c77cc6..6d2bb45cd 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -1620,6 +1620,8 @@ int area_set_lsp_mtu(struct vty *vty, struct isis_area *area, unsigned int lsp_m
for (ALL_LIST_ELEMENTS_RO(area->circuit_list, node, circuit))
{
+ if(circuit->state != C_STATE_INIT && circuit->state != C_STATE_UP)
+ continue;
if(lsp_mtu > isis_circuit_pdu_size(circuit))
{
vty_out(vty, "ISIS area contains circuit %s, which has a maximum PDU size of %zu.%s",