]> git.puffer.fish Git - mirror/frr.git/commit
ldpd: add missing check on disc_find_iface()
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 12 Dec 2016 20:35:30 +0000 (18:35 -0200)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 14 Dec 2016 18:21:08 +0000 (13:21 -0500)
commit4913a1680eb922f6747b9ebfec18848f51a71bac
tree7e8f7e762b438c7de1d529f6e5e70da38ccffc22
parente5dd4bef5eeeac880ba97480b76d46f32726985a
ldpd: add missing check on disc_find_iface()

When we find an interface on disc_find_iface(), we need to check if it's
enabled for the address-family (IPv4 or IPv6) of the received packet. We
were doing that only for targeted hellos, do it for link hellos as well.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
(cherry picked from commit 6710e336b3afd913c5b15677159e8274680ea8cb)
ldpd/packet.c