]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Temporary OSPFv3 development commit
authorOndrej Zajicek <santiago@crfreenet.org>
Fri, 28 Aug 2009 11:45:43 +0000 (13:45 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Fri, 28 Aug 2009 11:45:43 +0000 (13:45 +0200)
nest/neighbor.c
proto/ospf/iface.c

index 01dd2adaf486b900c55527893fb8d582e9383797..7aaf8d72caceb8885fdc74522a2b50116fca3ed9 100644 (file)
@@ -100,14 +100,16 @@ if_connected(ip_addr *a, struct iface *i) /* -1=error, 1=match, 0=no match */
  * IP address, neigh_find() returns %NULL.
  */
 
+/*
 neighbor *
 neigh_find(struct proto *p, ip_addr *a, unsigned flags)
 {
   return neigh_find2(p, a, NULL, flags);
 }
+*/
 
 neighbor *
-neigh_find2(struct proto *p, ip_addr *a, unsigned flags)
+neigh_find(struct proto *p, ip_addr *a, unsigned flags)
 {
   neighbor *n;
   int class, scope = SCOPE_HOST;
index c902a878d3b5809911f42f292d2176a395e65223..439a29c55486437371175bc7cc33a045cd233f6a 100644 (file)
@@ -145,6 +145,7 @@ ospf_iface_chstate(struct ospf_iface *ifa, u8 state)
 #ifdef OSPFv2
            ifa->dr_sk->saddr = AllDRouters;
 #else /* OSPFv3 */
+           // ifa->dr_sk->saddr = AllDRouters;
            ifa->dr_sk->saddr = ifa->lladdr;
 #endif
 
@@ -322,8 +323,9 @@ ospf_open_mc_socket(struct ospf_iface *ifa)
   mcsk->dport = OSPF_PROTO;
 
 #ifdef OSPFv2
-  mcsk->saddr = AllDRouters;
+  mcsk->saddr = AllSPFRouters;
 #else /* OSPFv3 */
+  // mcsk->saddr = AllSPFRouters;
   mcsk->saddr = ifa->lladdr;
 #endif