[haiku-commits] r37923 - haiku/trunk/src/add-ons/kernel/network/datalink_protocols/arp

Author: axeld
Date: 2010-08-05 13:09:17 +0200 (Thu, 05 Aug 2010)
New Revision: 37923
Changeset: http://dev.haiku-os.org/changeset/37923

Modified:
   haiku/trunk/src/add-ons/kernel/network/datalink_protocols/arp/arp.cpp
Log:
* Turns out it wasn't such a bright idea to reset the protocol in
  arp_update_entry() for known entries, as it also uses that to update the
  timestamp.


Modified: haiku/trunk/src/add-ons/kernel/network/datalink_protocols/arp/arp.cpp
===================================================================
--- haiku/trunk/src/add-ons/kernel/network/datalink_protocols/arp/arp.cpp       
2010-08-05 11:06:10 UTC (rev 37922)
+++ haiku/trunk/src/add-ons/kernel/network/datalink_protocols/arp/arp.cpp       
2010-08-05 11:09:17 UTC (rev 37923)
@@ -408,7 +408,6 @@
 
                entry->hardware_address = *hardwareAddress;
                entry->timestamp = system_time();
-               entry->protocol = NULL;
        } else {
                entry = arp_entry::Add(protocolAddress, hardwareAddress, flags);
                if (entry == NULL)


Other related posts:

  • » [haiku-commits] r37923 - haiku/trunk/src/add-ons/kernel/network/datalink_protocols/arp - axeld