summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSebastien Marie <semarie@cvs.openbsd.org>2016-02-25 07:39:10 +0000
committerSebastien Marie <semarie@cvs.openbsd.org>2016-02-25 07:39:10 +0000
commited0f7c51066d0f960217b8ee11219c7f25580c50 (patch)
tree9de23c28df4807a10b87db7afa81ca43bf23eea6 /sys
parent1ec0b5bc033feb4dd77d254082423e19a99cd2eb (diff)
corrects a misleading comment about SS_DNS (and adjust tab)
SS_DNS is now created by using SOCK_DNS with socket(2). dnssocket(2) was removed since October 28.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/socketvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/socketvar.h b/sys/sys/socketvar.h
index 53981d6a965..bfded719ff6 100644
--- a/sys/sys/socketvar.h
+++ b/sys/sys/socketvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: socketvar.h,v 1.59 2015/10/18 00:04:43 deraadt Exp $ */
+/* $OpenBSD: socketvar.h,v 1.60 2016/02/25 07:39:09 semarie Exp $ */
/* $NetBSD: socketvar.h,v 1.18 1996/02/09 18:25:38 christos Exp $ */
/*-
@@ -146,7 +146,7 @@ struct socket {
#define SS_ASYNC 0x200 /* async i/o notify */
#define SS_CONNECTOUT 0x1000 /* connect, not accept, at this end */
#define SS_ISSENDING 0x2000 /* hint for lower layer */
-#define SS_DNS 0x4000 /* created using dnssocket() */
+#define SS_DNS 0x4000 /* created using SOCK_DNS socket(2) */
#ifdef _KERNEL
/*