Disable ETHARP_TRUST_IP_MAC by default since it slows down packet reception and is not really necessary

This commit is contained in:
goldsimon
2010-02-14 18:10:34 +00:00
parent 4c9fe60693
commit e983865ad5
2 changed files with 7 additions and 1 deletions

View File

@@ -411,9 +411,11 @@
* correct addresses, or as a limited approach to attempt to handle
* spoofing. If disabled, lwIP will need to make a new ARP request if
* the peer is not already in the ARP table, adding a little latency.
* The peer *is* in the ARP table if it requested our address before.
* Also notice that this slows down input processing of every IP packet!
*/
#ifndef ETHARP_TRUST_IP_MAC
#define ETHARP_TRUST_IP_MAC 1
#define ETHARP_TRUST_IP_MAC 0
#endif
/**