diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2018-11-12 23:41:23 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2018-11-12 23:41:23 +0000 |
commit | 586eb0badc2e3969559fe678f4c8d904a3730ad9 (patch) | |
tree | 1d21b84ccadbd81bfe7d67cc9de2e62c7c4af968 /sys | |
parent | be85708a346550afd69f138faba055e37c915a80 (diff) |
only let root configure the txprio setting on an interface
ok claudio@
Diffstat (limited to 'sys')
-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: |