mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
Added a missing "not" in the comment, the code was correct.
This commit is contained in:
parent
f3def542ee
commit
a5cd3fcafd
@ -433,7 +433,7 @@ etharp_ip_input(struct netif *netif, struct pbuf *p)
|
||||
/* Only insert an entry if the source IP address of the
|
||||
incoming IP packet comes from a host on the local network. */
|
||||
hdr = p->payload;
|
||||
/* source is on local network? */
|
||||
/* source is not on the local network? */
|
||||
if (!ip_addr_netcmp(&(hdr->ip.src), &(netif->ip_addr), &(netif->netmask))) {
|
||||
/* do nothing */
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user