]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2003-09-24 Thomas Giger TGC <thomas.giger@tgc.de>
authorpaul <paul>
Tue, 23 Sep 2003 23:20:08 +0000 (23:20 +0000)
committerpaul <paul>
Tue, 23 Sep 2003 23:20:08 +0000 (23:20 +0000)
* ospf_packet.c (ospf_associate_packet_vl): pass NULL struct
  interface to ospf_if_lookup_by_local_addr() rather than the
  receiving interface ifp, packets for VL's could come in any
  interface. See quagga-dev 250.

ospfd/ospf_packet.c

index a0a9931c6252b11d9cfe419bd0f8ed1659bba42c..9ede11cdd3d285d69b50468bb9ee8d445916b5aa 100644 (file)
@@ -2009,8 +2009,8 @@ ospf_associate_packet_vl (struct ospf *ospf,
 
   if ((rcv_oi = oi) == NULL)
     {
-     if ((rcv_oi = ospf_if_lookup_by_local_addr (ospf, ifp,
-                                                iph->ip_dst)) == NULL)
+     if ((rcv_oi = ospf_if_lookup_by_local_addr (ospf, NULL, 
+                                                 iph->ip_dst)) == NULL)
        return NULL;
     }