summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorDavid Young <dyoung@pobox.com>2007-04-16 05:54:02 +0000
committerDavid Young <dyoung@pobox.com>2007-04-16 05:54:02 +0000
commit33b931eef55a752b997f4122a715b470a4b48911 (patch)
tree541b975944ad407d87a2000f4008cfc7c0c06f75 /zebra
parent93c1749c828cf750fbcc850730b9f2a872e38325 (diff)
Only suppress adding a connected route to the kernel if it is
already marked "real" (ZEBRA_IFC_REAL), i.e., "in kernel." According to Paul Jakma, this probably fixes Quagga bug #202.
Diffstat (limited to 'zebra')
-rw-r--r--zebra/connected.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index 3fe9717d..74e10ac6 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -155,7 +155,7 @@ connected_implicit_withdraw (struct interface *ifp, struct connected *ifc)
/* Avoid spurious withdraws, this might be just the kernel 'reflecting'
* back an address we have already added.
*/
- if (connected_same (current, ifc))
+ if (connected_same (current, ifc) && CHECK_FLAG(current->conf, ZEBRA_IFC_REAL))
{
/* nothing to do */
connected_free (ifc);