diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-08-18 21:03:54 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-08-18 21:07:35 -0700 |
commit | a57a7be5962f6f9536ab97751b177575a4884bd0 (patch) | |
tree | 932d60af3fe6d90ad463d08eb4bdf851af1425f1 | |
parent | a9040b281062ddabcfb2cfdfc37e431b047531b2 (diff) |
Treat all 127.0.0.0/8 addresses as localhost
Similar fix to http://bugs.freedesktop.org/show_bug.cgi?id=23329
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r-- | auth.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -731,9 +731,7 @@ DefineSelf(int fd, FILE *file, Xauth *auth) * the local entry anyway, so this one can * be tossed. */ - if (family == FamilyInternet && len == 4 && - addr[0] == 127 && addr[1] == 0 && - addr[2] == 0 && addr[3] == 1) + if (family == FamilyInternet && len == 4 && addr[0] == 127) { Debug ("Skipping localhost address\n"); continue; |