From 11605eacca5be14aa9aab31466a85997f3b7273b Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Thu, 29 Nov 2018 00:11:50 +0000 Subject: restrict setting ecn to root ok claudio@ --- sys/net/if.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') 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: -- cgit v1.2.3