summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerhard <gerhard@openbsd.org>2020-10-06 07:23:15 +0000
committergerhard <gerhard@openbsd.org>2020-10-06 07:23:15 +0000
commitf8c201ecbd7648724b8b2d5bb004165aced55f27 (patch)
treed6e6f46c314cae3cd4f26acd6a2c97826e444c49
parentAgent protocol draft is now at rev 4. ok djm@ (diff)
downloadwireguard-openbsd-f8c201ecbd7648724b8b2d5bb004165aced55f27.tar.xz
wireguard-openbsd-f8c201ecbd7648724b8b2d5bb004165aced55f27.zip
The command value of the _IOC() macro is limited to values [0..255].
This change results in no binary change, it just makes things more clear. OK deraadt
-rw-r--r--sys/net80211/ieee80211_ioctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_ioctl.h b/sys/net80211/ieee80211_ioctl.h
index 98c08a621b1..20647ca5ee9 100644
--- a/sys/net80211/ieee80211_ioctl.h
+++ b/sys/net80211/ieee80211_ioctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_ioctl.h,v 1.40 2020/04/29 13:13:30 stsp Exp $ */
+/* $OpenBSD: ieee80211_ioctl.h,v 1.41 2020/10/06 07:23:15 gerhard Exp $ */
/* $NetBSD: ieee80211_ioctl.h,v 1.7 2004/04/30 22:51:04 dyoung Exp $ */
/*-
@@ -277,7 +277,7 @@ struct ieee80211_keyrun {
#define SIOCG80211JOINALL _IOWR('i', 218, struct ieee80211_joinreq_all)
#define SIOCS80211JOIN _IOWR('i', 255, struct ifreq)
-#define SIOCG80211JOIN _IOWR('i', 256, struct ifreq)
+#define SIOCG80211JOIN _IOWR('i', 0, struct ifreq)
/* join is pointed at by ifr.ifr_data */
struct ieee80211_join {