summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os/access.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/access.c b/os/access.c
index 65765799b..8c5b50af0 100644
--- a/os/access.c
+++ b/os/access.c
@@ -415,8 +415,7 @@ DefineSelf (int fd)
*/
if (family == FamilyInternet &&
!(len == 4 &&
- ((addr[0] == 127 && addr[1] == 0 &&
- addr[2] == 0 && addr[3] == 1) ||
+ ((addr[0] == 127) ||
(addr[0] == 0 && addr[1] == 0 &&
addr[2] == 0 && addr[3] == 0)))
)