summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 829ede2..cb18319 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -890,6 +890,11 @@ ifioctl(so, cmd, data, p)
getmicrotime(&ifp->if_lastchange);
return error;
+ case SIOCSIFPHYADDR:
+ case SIOCDIFPHYADDR:
+#ifdef INET6
+ case SIOCSIFPHYADDR_IN6:
+#endif
case SIOCSIFMEDIA:
case SIOCSIFGENERIC:
error = suser(p);
OpenPOWER on IntegriCloud