summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-10-12 18:43:07 +0000
committerderaadt <deraadt@openbsd.org>2005-10-12 18:43:07 +0000
commit191602008f0ad27b7c957fc8050061b9a5fa47a8 (patch)
tree7889d1c95e8bcb844338cfecfe01aa2b19a42dde
parentminor knf; (diff)
downloadwireguard-openbsd-191602008f0ad27b7c957fc8050061b9a5fa47a8.tar.xz
wireguard-openbsd-191602008f0ad27b7c957fc8050061b9a5fa47a8.zip
unconflict (one day legacy) wavelan ioctl's from the vlan ioctl's
so that vlan's can be done on wavelan (if you are crazy enough to want to). spotted by fgs, but my fix, ok a few people
-rw-r--r--sys/dev/ic/if_wi_ieee.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/dev/ic/if_wi_ieee.h b/sys/dev/ic/if_wi_ieee.h
index ba194905e84..4a40a4c73b4 100644
--- a/sys/dev/ic/if_wi_ieee.h
+++ b/sys/dev/ic/if_wi_ieee.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_ieee.h,v 1.24 2004/06/22 20:51:01 millert Exp $ */
+/* $OpenBSD: if_wi_ieee.h,v 1.25 2005/10/12 18:43:07 deraadt Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -45,13 +45,8 @@
* interface, didn't I.
*/
-#ifndef SIOCSWAVELAN
-#define SIOCSWAVELAN SIOCSIFGENERIC
-#endif
-
-#ifndef SIOCGWAVELAN
-#define SIOCGWAVELAN SIOCGIFGENERIC
-#endif
+#define SIOCSWAVELAN _IOW('i', 249, struct ifreq) /* wavelan set op */
+#define SIOCGWAVELAN _IOWR('i', 250, struct ifreq) /* wavelan get op */
/*
* Technically I don't think there's a limit to a record