mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-22 03:40:48 +00:00
Corrected typo
This commit is contained in:
parent
502e89f4ad
commit
b4404ff0c8
@ -321,7 +321,7 @@ ip_input(struct pbuf *p, struct netif *inp)
|
|||||||
|
|
||||||
/* broadcast or multicast packet source address? Compliant with RFC 1122: 3.2.1.3 */
|
/* broadcast or multicast packet source address? Compliant with RFC 1122: 3.2.1.3 */
|
||||||
#if LWIP_DHCP
|
#if LWIP_DHCP
|
||||||
/* DHCP servers need 0.0.0.0 to be allowed as source port (RFC 1.1.2.2: 3.2.1.3/a) */
|
/* DHCP servers need 0.0.0.0 to be allowed as source address (RFC 1.1.2.2: 3.2.1.3/a) */
|
||||||
if (check_ip_src && (iphdr->src.addr != 0))
|
if (check_ip_src && (iphdr->src.addr != 0))
|
||||||
#endif /* LWIP_DHCP */
|
#endif /* LWIP_DHCP */
|
||||||
{ if ((ip_addr_isbroadcast(&(iphdr->src), inp)) ||
|
{ if ((ip_addr_isbroadcast(&(iphdr->src), inp)) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user