Disable ETHARP_TRUST_IP_MAC by default since it slows down packet reception and is not really necessary
This commit is contained in:
@@ -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
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user