projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0a4022a
)
Use AF_UNIX, not AF_LOCAL, since the former is in POSIX and the latter is not.
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Fri, 28 Jan 2005 11:47:33 +0000
(11:47 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Fri, 28 Jan 2005 11:47:33 +0000
(11:47 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@5220
cda61777
-01e9-0310-a592-
d414129be87e
unix/uxnet.c
patch
|
blob
|
blame
|
history
diff --git
a/unix/uxnet.c
b/unix/uxnet.c
index
97dcffc
..
05f9f25
100644
(file)
--- a/
unix/uxnet.c
+++ b/
unix/uxnet.c
@@
-294,7
+294,7
@@
static int sockaddr_is_loopback(struct sockaddr *sa)
sin6 = (struct sockaddr_in6 *)sa;
return IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr);
#endif
sin6 = (struct sockaddr_in6 *)sa;
return IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr);
#endif
- case AF_
LOCAL
:
+ case AF_
UNIX
:
return TRUE;
default:
return FALSE;
return TRUE;
default:
return FALSE;