This patch appears to solve the problem I was having with the zebra daemon
not creating an internal route for the peer address on a PtP interface.
--- quagga-0.96.3/zebra/connected.c~ 2003-09-29 18:02:48.000000000
+0100
+++ quagga-0.96.3/zebra/connected.c 2003-10-11 16:35:59.000000000
+0100
@@ -69,7 +69,7 @@
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 @@
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;
not creating an internal route for the peer address on a PtP interface.
--- quagga-0.96.3/zebra/connected.c~ 2003-09-29 18:02:48.000000000
+0100
+++ quagga-0.96.3/zebra/connected.c 2003-10-11 16:35:59.000000000
+0100
@@ -69,7 +69,7 @@
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 @@
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;