summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-08-07 00:53:37 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-08-07 00:53:37 +0000
commit6815f3ea1502697845434476b83a2c4d1c966e13 (patch)
tree585ed1f43f4cc7c888c4766a001d689856529c7c /lib/libc
parent1bc0a201f7b3e0b5eb4fea0d83cae82c9a6da9f7 (diff)
typo
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/net_addrcmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/net_addrcmp.c b/lib/libc/net/net_addrcmp.c
index 8f1b813af84..5f9cfd627cf 100644
--- a/lib/libc/net/net_addrcmp.c
+++ b/lib/libc/net/net_addrcmp.c
@@ -23,9 +23,9 @@ net_addrcmp(sa1, sa2)
sizeof(struct in_addr)));
case AF_INET6:
if (((struct sockaddr_in6 *)sa1)->sin6_scope_id !=
- ((struct sockaddr_in6 *)sa2)->sin6_scpoe_id)
+ ((struct sockaddr_in6 *)sa2)->sin6_scope_id)
return (((struct sockaddr_in6 *)sa1)->sin6_scope_id <
- ((struct sockaddr_in6 *)sa2)->sin6_scpoe_id)
+ ((struct sockaddr_in6 *)sa2)->sin6_scope_id)
? -1 : 1;
return memcmp(&((struct sockaddr_in6 *)sa1)->sin6_addr,
&((struct sockaddr_in6 *)sa2)->sin6_addr,