2003-10-13 Douglas Fraser <doug+quagga@idmf.net>

* zebra/connected.c: PtP revert fixup. Zebra was not creating
	connected route for PtP peer.
This commit is contained in:
paul 2003-10-13 08:59:40 +00:00
parent 44ebf843d7
commit 2fe28bbb7b

View File

@ -69,7 +69,7 @@ connected_up_ipv4 (struct interface *ifp, struct connected *ifc)
p.prefixlen = addr->prefixlen; p.prefixlen = addr->prefixlen;
/* Point-to-point check. */ /* Point-to-point check. */
if (if_is_pointopoint (ifc) && dest) if (if_is_pointopoint (ifp) && dest)
p.prefix = dest->prefix; p.prefix = dest->prefix;
else else
p.prefix = addr->prefix; p.prefix = addr->prefix;
@ -163,7 +163,7 @@ connected_down_ipv4 (struct interface *ifp, struct connected *ifc)
p.prefixlen = addr->prefixlen; p.prefixlen = addr->prefixlen;
/* Point-to-point check. */ /* Point-to-point check. */
if (dest && if_is_pointopoint (ifc)) if (dest && if_is_pointopoint (ifp))
p.prefix = dest->prefix; p.prefix = dest->prefix;
else else
p.prefix = addr->prefix; p.prefix = addr->prefix;