From 2e3b2e474ed5ba04744b167132a84f9954485af4 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 13 Dec 2002 21:03:13 +0000 Subject: zebra link state detection support --- bgpd/bgp_zebra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bgpd') diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 3e5cdd2a..aef888be 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -208,7 +208,7 @@ bgp_interface_address_add (int command, struct zclient *zclient, bgp_if_update (ifc->ifp); - if (if_is_up (ifc->ifp)) + if (if_is_operative (ifc->ifp)) bgp_connected_add (ifc); return 0; @@ -227,7 +227,7 @@ bgp_interface_address_delete (int command, struct zclient *zclient, bgp_if_update (ifc->ifp); - if (if_is_up (ifc->ifp)) + if (if_is_operative (ifc->ifp)) bgp_connected_delete (ifc); connected_free (ifc); -- cgit v1.2.1