Loopback addresses are 127.0.0.0/8, not 127.0.0.1/32.
MFC after: 1 week
This commit is contained in:
parent
b35d45aadf
commit
e51963a7bb
@ -978,10 +978,7 @@ __FBSDID("$FreeBSD$");
|
||||
(((uint8_t *)&(a)->s_addr)[1] == 168)))
|
||||
|
||||
#define IN4_ISLOOPBACK_ADDRESS(a) \
|
||||
((((uint8_t *)&(a)->s_addr)[0] == 127) && \
|
||||
(((uint8_t *)&(a)->s_addr)[1] == 0) && \
|
||||
(((uint8_t *)&(a)->s_addr)[2] == 0) && \
|
||||
(((uint8_t *)&(a)->s_addr)[3] == 1))
|
||||
(((uint8_t *)&(a)->s_addr)[0] == 127)
|
||||
|
||||
#define IN4_ISLINKLOCAL_ADDRESS(a) \
|
||||
((((uint8_t *)&(a)->s_addr)[0] == 169) && \
|
||||
|
Loading…
Reference in New Issue
Block a user