diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-16 15:56:02 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-16 15:56:02 -0700 |
commit | eb8c540ba7dd97bcdb0e25f0963b75de84286e33 (patch) | |
tree | 14665a3bda63648c6ab3d9bba5a240a0f9038f7a | |
parent | 62227966dc8deb2fb5a4480dce00e525c56eabd7 (diff) | |
download | quagga-eb8c540ba7dd97bcdb0e25f0963b75de84286e33.tar.bz2 quagga-eb8c540ba7dd97bcdb0e25f0963b75de84286e33.tar.xz |
Go back to hiding connected routes from down interfaces
Revert "Revert "Only announce connected routes if link is detected""
This reverts commit 38701029fe978ca18645408771414a91588413d3.
-rw-r--r-- | zebra/connected.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/connected.c b/zebra/connected.c index 8bf1d337..ca22a011 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_up(ifp)) + if (if_is_operative(ifp)) { if (ifc->address->family == AF_INET) connected_up_ipv4 (ifp, ifc); |