summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2018-11-29 00:11:49 +0000
committerdlg <dlg@openbsd.org>2018-11-29 00:11:49 +0000
commitd0466050f9b94c5b9e09575e2861194a17bff1ec (patch)
tree5b397aa13febca092c4f5565f67bba7a3bdd6076 /sys/net/if.c
parentallow configuration of ecn propagation on tunnel interfaces. (diff)
downloadwireguard-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.c3
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: