[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quagga-users
Subject:    [quagga-users 7101] Re: Quagga unnumbered interfaces support.
From:       "Andrew J. Schorr" <aschorr () telemetry-investments ! com>
Date:       2006-06-15 19:58:17
Message-ID: 20060615195817.GA12509 () ti93 ! telemetry-investments ! com
[Download RAW message or body]

Hi Tal,

On Thu, Jun 15, 2006 at 07:32:57PM +0300, tal sarfaty wrote:
> due to your detailed description - i was not surprised to see that this is
> really working.
> i will be very happy to get the specified patch in case you have it
> available.

The attached patch may help you (although I cannot strongly endorse it).
I'm trying to get this all cleaned up properly in my pending PtP patch
(intended to fix PtP over ethernet, among other things).  But for now,
this may help.

An alternative is to use the standard code, and instead
use the "passive-interface" subcommand to disable OSPF on some of
the interfaces.  That's the preferred solution at the moment.

Regards,
Andy

["ospf_network_match_iface.patch" (text/plain)]

--- ospfd/ospfd.c.orig	2006-06-15 15:46:20.000000000 -0400
+++ ospfd/ospfd.c	2006-06-15 15:54:38.000000000 -0400
@@ -794,9 +794,8 @@ ospf_network_match_iface(struct connecte
    * exactly; this is not a test for falling within the prefix.  This
    * test is solely for compatibility with zebra.
    */
-  if (if_is_pointopoint (co->ifp) && co->destination &&
-      IPV4_ADDR_SAME ( &(co->destination->u.prefix4), &(net->u.prefix4)))
-    return 1;
+  if (if_is_pointopoint (co->ifp) && co->destination)
+    return IPV4_ADDR_SAME ( &(co->destination->u.prefix4), &(net->u.prefix4)));
 
 #if 0
   /* Decline to accept PtP if dst address does not match the


_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic