diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2018-11-29 00:11:50 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2018-11-29 00:11:50 +0000 |
commit | 11605eacca5be14aa9aab31466a85997f3b7273b (patch) | |
tree | 6fcbf6d84105d7f87e8dd9b05dfb8e737674b9a4 /sys | |
parent | 08712c5a8a5cba76dbce5b30dafe4b1f6b021ab4 (diff) |
restrict setting ecn to root
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 a946344d5dc..0d1c51d0ad8 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.567 2018/11/12 23:41:22 dlg Exp $ */ +/* $OpenBSD: if.c,v 1.568 2018/11/29 00:11:49 dlg Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -2131,6 +2131,7 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p) case SIOCSLIFPHYRTABLE: case SIOCSLIFPHYTTL: case SIOCSLIFPHYDF: + case SIOCSLIFPHYECN: case SIOCADDMULTI: case SIOCDELMULTI: case SIOCSIFMEDIA: |