summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-04-19 04:22:09 +0000
committerdlg <dlg@openbsd.org>2019-04-19 04:22:09 +0000
commit56364da224388c5859a25567dcfa96a4a526f5f6 (patch)
treec593559b49ac6fdeef90e9da88c16a02feb9cc9f /sys/net/if.c
parentadd SIOCSRXHPRIO and SIOCGRXHPRIO for configuring rx prio handling (diff)
downloadwireguard-openbsd-56364da224388c5859a25567dcfa96a4a526f5f6.tar.xz
wireguard-openbsd-56364da224388c5859a25567dcfa96a4a526f5f6.zip
only root can change rxprio
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 6534b5e9159..473c9d2a1bf 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.576 2019/04/16 04:04:19 dlg Exp $ */
+/* $OpenBSD: if.c,v 1.577 2019/04/19 04:22:09 dlg Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -2170,6 +2170,7 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p)
case SIOCSVNETID:
case SIOCSVNETFLOWID:
case SIOCSTXHPRIO:
+ case SIOCSRXHPRIO:
case SIOCSIFPAIR:
case SIOCSIFPARENT:
case SIOCDIFPARENT: