diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-06-25 05:22:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-06-25 05:22:56 +0000 |
commit | 2fe1bbf553f09bb3c4541ed161a6daee31388c87 (patch) | |
tree | 189d3503b5f2bac43abd2a2e77df7a9a64b541e6 /lib | |
parent | 48688f6d3236613f3bc6f74ec745e7d8ec26d09e (diff) |
use AF_LOCAL instead of AF_UNIX
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/net_addrcmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/net_addrcmp.c b/lib/libc/net/net_addrcmp.c index 003b2567e91..64b3dce57df 100644 --- a/lib/libc/net/net_addrcmp.c +++ b/lib/libc/net/net_addrcmp.c @@ -28,7 +28,7 @@ net_addrcmp(sa1, sa2) return (memcmp(&((struct sockaddr_ns *)sa1)->sns_addr, &((struct sockaddr_ns *)sa2)->sns_addr, sizeof(struct ns_addr))); - case AF_UNIX: + case AF_LOCAL: return (strcmp(((struct sockaddr_un *)sa1)->sun_path, ((struct sockaddr_un *)sa1)->sun_path)); default: |