summaryrefslogtreecommitdiff
path: root/zebra/connected.c
diff options
context:
space:
mode:
authorpaul <paul>2003-10-13 08:59:40 +0000
committerpaul <paul>2003-10-13 08:59:40 +0000
commit2fe28bbb7bccedf2e486a8c0aaa43037c91b3336 (patch)
treefcc860376527f391ec341db2c212882856cf7793 /zebra/connected.c
parent44ebf843d7b4e434bc490a9d8716af2b83924758 (diff)
2003-10-13 Douglas Fraser <doug+quagga@idmf.net>
* zebra/connected.c: PtP revert fixup. Zebra was not creating connected route for PtP peer.
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index 1d19258f..7fa5ea74 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -69,7 +69,7 @@ connected_up_ipv4 (struct interface *ifp, struct connected *ifc)
p.prefixlen = addr->prefixlen;
/* Point-to-point check. */
- if (if_is_pointopoint (ifc) && dest)
+ if (if_is_pointopoint (ifp) && dest)
p.prefix = dest->prefix;
else
p.prefix = addr->prefix;
@@ -163,7 +163,7 @@ connected_down_ipv4 (struct interface *ifp, struct connected *ifc)
p.prefixlen = addr->prefixlen;
/* Point-to-point check. */
- if (dest && if_is_pointopoint (ifc))
+ if (dest && if_is_pointopoint (ifp))
p.prefix = dest->prefix;
else
p.prefix = addr->prefix;