]> git.ipfire.org Git - thirdparty/lldpd.git/commit
*bsd: listen on PF_ROUTE socket to get interface changes
authorVincent Bernat <bernat@luffy.cx>
Mon, 31 Dec 2012 17:57:07 +0000 (18:57 +0100)
committerVincent Bernat <bernat@luffy.cx>
Mon, 31 Dec 2012 17:57:07 +0000 (18:57 +0100)
commita4c33103e90016bef5957bedd6a0954091741b80
tree2f7b7816314b8ca7011349a1d898dd7002a80444
parentaa313f2a78c4ad8ebf8dd5e7d3e26f3af67da1c2
*bsd: listen on PF_ROUTE socket to get interface changes

Only OpenBSD is able to filter messages. We could filter messages for
FreeBSD and NetBSD after receiving them but we don't bother doing
it. Any change will trigger a rescan of the interfaces. Since this
cannot happen more than once per second, this should be OK for most
people.
src/daemon/interfaces-bsd.c