mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 00:56:19 +00:00
isisd: fix an error that was probably a result of copypasting
The code should check for the existance of the correct list prior to accessing it. Signed-off-by: Christian Franke <chris@opensourcerouting.org> Signed-off-by: Christian Franke <chris@opensourcerouting.org> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
b6175e0ca2
commit
881d5b3b61
@ -979,7 +979,7 @@ isis_circuit_print_vty (struct isis_circuit *circuit, struct vty *vty,
|
||||
vty_out(vty, " %s%s", buf, VTY_NEWLINE);
|
||||
}
|
||||
}
|
||||
if (circuit->ipv6_link && listcount(circuit->ipv6_non_link) > 0)
|
||||
if (circuit->ipv6_non_link && listcount(circuit->ipv6_non_link) > 0)
|
||||
{
|
||||
vty_out(vty, " IPv6 Prefixes:%s", VTY_NEWLINE);
|
||||
for (ALL_LIST_ELEMENTS_RO(circuit->ipv6_non_link, node, ip_addr))
|
||||
|
Loading…
Reference in New Issue
Block a user