bug 107
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed Apr 16 10:52:26 2008 -0700 (22 months ago)
changeset 2919d2d179640630
parent 2916 5d4ff983595b
child 2920 67a8290b9336
bug 107
src/internet-node/arp-l3-protocol.cc
     1.1 --- a/src/internet-node/arp-l3-protocol.cc	Wed Apr 16 11:32:55 2008 +0100
     1.2 +++ b/src/internet-node/arp-l3-protocol.cc	Wed Apr 16 10:52:26 2008 -0700
     1.3 @@ -108,6 +108,11 @@
     1.4              arp.GetDestinationIpv4Address () << "; we have address " <<
     1.5              cache->GetInterface ()->GetAddress ());
     1.6  
     1.7 +  /**
     1.8 +   * Note: we do not update the ARP cache when we receive an ARP request
     1.9 +   * from an unknown node. See bug #107
    1.10 +   */
    1.11 +
    1.12    if (arp.IsRequest () && 
    1.13        arp.GetDestinationIpv4Address () == cache->GetInterface ()->GetAddress ()) 
    1.14      {