]> git.proxmox.com Git - mirror_frr.git/commit - zebra/interface.c
zebra: fix interface deletion bug introduced by ptp address support
authorDavid Lamparter <equinox@diac24.net>
Sat, 27 Mar 2010 17:31:42 +0000 (18:31 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sun, 27 Aug 2017 21:40:23 +0000 (23:40 +0200)
commita3008857cbf5c0122dda88e178d5c4378d7e4591
tree4d42ef30dc5a6b94bd13defec1c144d92a2664a1
parentabffde07a3f89f77dc45b7660323e41c39d4113c
zebra: fix interface deletion bug introduced by ptp address support

meh. forgot to even look at the interface deletion path. this doesn't
really work well when looking for the local address in the subnet list
which has the connected prefix in it... loop ensues.

fix by using the connected prefix when looking at the list of connected
prefixes. duh.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
zebra/interface.c