diff options
author | dlg <dlg@openbsd.org> | 2018-11-12 23:41:22 +0000 |
---|---|---|
committer | dlg <dlg@openbsd.org> | 2018-11-12 23:41:22 +0000 |
commit | df617690546ac1e5ff9b2ffd620d4645fcbcafb3 (patch) | |
tree | 4f0c5b9111ceeeb91e87ffc510459d64d67c525b /sys/net/if.c | |
parent | add support for txprio settings on interfaces (diff) | |
download | wireguard-openbsd-df617690546ac1e5ff9b2ffd620d4645fcbcafb3.tar.xz wireguard-openbsd-df617690546ac1e5ff9b2ffd620d4645fcbcafb3.zip |
only let root configure the txprio setting on an interface
ok claudio@
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index d0da7c41b3c..a946344d5dc 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.566 2018/10/01 12:38:32 mpi Exp $ */ +/* $OpenBSD: if.c,v 1.567 2018/11/12 23:41:22 dlg Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -2136,6 +2136,7 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p) case SIOCSIFMEDIA: case SIOCSVNETID: case SIOCSVNETFLOWID: + case SIOCSTXHPRIO: case SIOCSIFPAIR: case SIOCSIFPARENT: case SIOCDIFPARENT: |