Mailing List Archive

Connected PtP interface patch
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;
Re: Connected PtP interface patch [ In reply to ]
Thanks Douglas.

On Sat, 11 Oct 2003, Douglas Fraser wrote:

>
> 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;

regards,
--
Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A
warning: do not ever send email to spam@dishone.st
Fortune:
Nothing is faster than the speed of light ...

To prove this to yourself, try opening the refrigerator door before the
light comes on.