summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-02-20 15:36:50 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-02-20 22:57:39 -0300
commit2b4905c1f87750de60d642505b954f77f0c99ed9 (patch)
tree33988370a0518aa37daf8a253ea4d19e28f154ee /ospf6d/ospf6_interface.c
parent8ad0d0eb44bdd298908b3ee7338386d7568ae93c (diff)
isisd: fix crash when entering "no ip[v6] router isis" twice
isisd CLI has some housekeeping code that removes the "frr-isisd:isis" container from the interface configuration when IS-IS is disabled for both IPv4 and IPv6 in the corresponding interface. The problem is that the code was checking the values of the "ipv4-routing" and "ipv6-routing" leafs without checking if the parent "frr-isisd:isis" container was present. So, entering "no ip[v6] router isis" twice would cause isisd to crash since the "frr-isisd:isis" container wouldn't be present the second time the command is processed. Fix this. isisd aborted: vtysh -c "configure terminal" -c "interface eth99" -c "no ip router isis WORD" isisd aborted: vtysh -c "configure terminal" -c "interface eth99" -c "no ipv6 router isis" Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
0 files changed, 0 insertions, 0 deletions