author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Wed, 16 Apr 2008 10:52:26 -0700 | |
changeset 2919 | d2d179640630 |
parent 2916 | 5d4ff983595b |
child 2920 | 67a8290b9336 |
--- a/src/internet-node/arp-l3-protocol.cc Wed Apr 16 11:32:55 2008 +0100 +++ b/src/internet-node/arp-l3-protocol.cc Wed Apr 16 10:52:26 2008 -0700 @@ -108,6 +108,11 @@ arp.GetDestinationIpv4Address () << "; we have address " << cache->GetInterface ()->GetAddress ()); + /** + * Note: we do not update the ARP cache when we receive an ARP request + * from an unknown node. See bug #107 + */ + if (arp.IsRequest () && arp.GetDestinationIpv4Address () == cache->GetInterface ()->GetAddress ()) {