]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: Remove impossible check
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 17 Feb 2018 19:52:44 +0000 (14:52 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 17 Feb 2018 19:52:44 +0000 (14:52 -0500)
commit5a9825aac66ab221ed8baec6b26f21936de85005
tree9d76fb5bfc369256ed849ce1b87b7701c281b552
parent97133f7f9f3c69addde1c9375d2229008e2e979f
isisd: Remove impossible check

The circuit->area value is always true in every code path
to isis_circuit_af_set( isis_vty.c ).  Therefore was_enabled
will always be true.

If was_enabled ever became false then the area->ip_circuits
and area->ipv6_circuits lines would segfault.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
isisd/isis_circuit.c