summaryrefslogtreecommitdiff
path: root/sys/net/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index c788df82c08..89470799f25 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.539 2018/02/07 22:36:54 dlg Exp $ */
+/* $OpenBSD: if.c,v 1.540 2018/02/09 09:30:37 dlg Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -2109,6 +2109,14 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p)
if ((error = suser(p, 0)) != 0)
break;
/* FALLTHROUGH */
+ case SIOCGETKALIVE:
+ case SIOCGLIFPHYADDR:
+ case SIOCGLIFPHYRTABLE:
+ case SIOCGLIFPHYTTL:
+ case SIOCGIFMEDIA:
+ case SIOCGVNETID:
+ case SIOCGIFPAIR:
+ case SIOCGIFPARENT:
default:
NET_LOCK();
error = ((*so->so_proto->pr_usrreq)(so, PRU_CONTROL,