diff options
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r-- | ospfd/ospf_packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 7ebf114e..effef390 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -2373,7 +2373,7 @@ ospf_read (struct thread *thread) ospfh = (struct ospf_header *) STREAM_PNT (ibuf); /* associate packet with ospf interface */ - oi = ospf_if_lookup_recv_if (ospf, iph->ip_src); + oi = ospf_if_lookup_recv_if (ospf, iph->ip_src, ifp); /* If incoming interface is passive one, ignore it. */ if (oi && OSPF_IF_PASSIVE_STATUS (oi) == OSPF_IF_PASSIVE) @@ -2419,7 +2419,7 @@ ospf_read (struct thread *thread) return 0; } } - + /* else it must be a local ospf interface, check it was received on * correct link */ |