]> git.puffer.fish Git - mirror/frr.git/commit
vrrpd: use if_is_operative()
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 19 Feb 2019 22:01:35 +0000 (22:01 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 17 May 2019 00:27:08 +0000 (00:27 +0000)
commitb0ec34c8fd86dc68a969146e3474ae3117c5a156
tree36f97a1c90cdaf1bf24a173a484dac791c8782b2
parentdca8cfccd21a89eaa786da92cbe866537eaf542b
vrrpd: use if_is_operative()

Checks for interface usability instead of admin state, which is what I
wanted anyway. Also removes the operstate check when binding interfaces.
This way we can bind currently inoperative interfaces, won't start until
they're at least admin up, but *will* start if they're carrier down,
because we can fix that (and probably caused it :)

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
vrrpd/vrrp.c