summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-07-16 09:19:32 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-07-16 09:19:32 -0700
commit38701029fe978ca18645408771414a91588413d3 (patch)
tree1df42c0a99ee13d2d17e8874e2e43e01a1dd5505
parent251018c5741e3518b79da01d24f1fd07aa49e58e (diff)
downloadquagga-38701029fe978ca18645408771414a91588413d3.tar.bz2
quagga-38701029fe978ca18645408771414a91588413d3.tar.xz
Revert "Only announce connected routes if link is detected"
Want to remember connected routes even if they aren't active at the current time. This reverts commit 84cc940a9b74d5a867a5598f4b0f6c657eb61c9c.
-rw-r--r--zebra/connected.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index ca22a011..8bf1d337 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -86,7 +86,7 @@ connected_announce (struct interface *ifp, struct connected *ifc)
zebra_interface_address_add_update (ifp, ifc);
- if (if_is_operative(ifp))
+ if (if_is_up(ifp))
{
if (ifc->address->family == AF_INET)
connected_up_ipv4 (ifp, ifc);