* zebra/connected.c: PtP revert fixup. Zebra was not creating
connected route for PtP peer.
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;
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;