summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_syscalls.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2016-10-23 17:06:42 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2016-10-23 17:06:42 +0000
commitbc6d45d0c162687238b72454cd8271b1374c668e (patch)
tree0222b256fb07766d1385f81dc13b26b9d8a98eaa /sys/kern/uipc_syscalls.c
parenta7d8c014706b82ca3ffbf3d366b50814a2f8021a (diff)
unbreak by fixing obvious pastos
Diffstat (limited to 'sys/kern/uipc_syscalls.c')
-rw-r--r--sys/kern/uipc_syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c
index e1493271cef..e064bc9fc7a 100644
--- a/sys/kern/uipc_syscalls.c
+++ b/sys/kern/uipc_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_syscalls.c,v 1.137 2016/10/23 03:22:37 deraadt Exp $ */
+/* $OpenBSD: uipc_syscalls.c,v 1.138 2016/10/23 17:06:40 naddy Exp $ */
/* $NetBSD: uipc_syscalls.c,v 1.19 1996/02/09 19:00:48 christos Exp $ */
/*
@@ -162,7 +162,7 @@ dns_portcheck(struct proc *p, struct socket *so, void *nam, u_int *namelen)
struct sockaddr_in6 sin6;
memset(&sin6, 0, sizeof(sin6));
sin6.sin6_len = sizeof(sin6);
- sin6.sin6_family = AF_INET;
+ sin6.sin6_family = AF_INET6;
sin6.sin6_port = htons(dnsjackport);
sin6.sin6_addr = in6addr_loopback;
memcpy(nam, &sin6, sizeof(sin6));