diff options
author | paul <paul> | 2002-12-13 21:03:13 +0000 |
---|---|---|
committer | paul <paul> | 2002-12-13 21:03:13 +0000 |
commit | 2e3b2e474ed5ba04744b167132a84f9954485af4 (patch) | |
tree | cc07fb34a1bf21ead5cc3ad69e4a9dfde2b43b0e /bgpd | |
parent | 7afa08da2d3690baee1739da400775f8543f5863 (diff) |
zebra link state detection support
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_zebra.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |