mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 11:24:42 +00:00
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:
parent
44ebf843d7
commit
2fe28bbb7b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user