diff options
author | dlg <dlg@openbsd.org> | 2018-11-29 00:11:49 +0000 |
---|---|---|
committer | dlg <dlg@openbsd.org> | 2018-11-29 00:11:49 +0000 |
commit | d0466050f9b94c5b9e09575e2861194a17bff1ec (patch) | |
tree | 5b397aa13febca092c4f5565f67bba7a3bdd6076 /sys/net/if.c | |
parent | allow configuration of ecn propagation on tunnel interfaces. (diff) | |
download | wireguard-openbsd-d0466050f9b94c5b9e09575e2861194a17bff1ec.tar.xz wireguard-openbsd-d0466050f9b94c5b9e09575e2861194a17bff1ec.zip |
restrict setting ecn to root
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 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: |