summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobhe <tobhe@openbsd.org>2019-11-13 11:54:01 +0000
committertobhe <tobhe@openbsd.org>2019-11-13 11:54:01 +0000
commit184c5a08244240f6127245d0972c1608e942bbf3 (patch)
tree73ab5cdd9436d79d65d706fc6d98ce6434a2155c
parentWhen clients get denied by MaxStartups, send a noification prior to (diff)
downloadwireguard-openbsd-184c5a08244240f6127245d0972c1608e942bbf3.tar.xz
wireguard-openbsd-184c5a08244240f6127245d0972c1608e942bbf3.zip
Fix get/set datapath comments.
ok markus@
-rw-r--r--sys/sys/sockio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h
index dba21d27837..1198dd8728c 100644
--- a/sys/sys/sockio.h
+++ b/sys/sys/sockio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sockio.h,v 1.82 2019/04/19 04:21:33 dlg Exp $ */
+/* $OpenBSD: sockio.h,v 1.83 2019/11/13 11:54:01 tobhe Exp $ */
/* $NetBSD: sockio.h,v 1.5 1995/08/23 00:40:47 thorpej Exp $ */
/*-
@@ -111,8 +111,8 @@
#define SIOCBRDGSPROTO _IOW('i', 90, struct ifbrparam)/* set protocol */
#define SIOCBRDGS
-#define SIOCSWGDPID _IOWR('i', 91, struct ifbrparam)/* set datapath id */
-#define SIOCSWSDPID _IOW('i', 92, struct ifbrparam)/* get datapath id */
+#define SIOCSWGDPID _IOWR('i', 91, struct ifbrparam)/* get datapath id */
+#define SIOCSWSDPID _IOW('i', 92, struct ifbrparam)/* set datapath id */
#define SIOCSWGMAXGROUP _IOWR('i', 93, struct ifbrparam)/* get max groups */
#define SIOCSWSPORTNO _IOWR('i', 95, struct ifbreq) /* set port number */
#define SIOCSWGMAXFLOW _IOWR('i', 96, struct ifbrparam)/* get max flow per table */