summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-10-16 13:40:58 +0000
committermpi <mpi@openbsd.org>2017-10-16 13:40:58 +0000
commit356cdcfbafcb0a510f170497e3c46288b81226ef (patch)
treebbeae93af51ae80772444e9497d90017b344a71e /sys/netinet6
parentPrint the correct message and return an error code when no route entry (diff)
downloadwireguard-openbsd-356cdcfbafcb0a510f170497e3c46288b81226ef.tar.xz
wireguard-openbsd-356cdcfbafcb0a510f170497e3c46288b81226ef.zip
Remove kernel support for the following ioctl(2)s, deprecated since 2001:
- SIOCSIFPHYADDR - SIOCSIFPHYADDR_IN6 - SIOCGIFPSRCADDR - SIOCGIFPSRCADDR_IN6 - SIOCGIFPDSTADDR - SIOCGIFPDSTADDR_IN6 ok bluhm@
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index a51374d8c11..4b6ed78ef91 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.c,v 1.211 2017/08/15 06:08:52 florian Exp $ */
+/* $OpenBSD: in6.c,v 1.212 2017/10/16 13:40:58 mpi Exp $ */
/* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */
/*
@@ -250,15 +250,12 @@ in6_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp, int privileged)
*/
switch (cmd) {
case SIOCAIFADDR_IN6:
- case SIOCSIFPHYADDR_IN6:
sa6 = &ifra->ifra_addr;
break;
case SIOCGIFADDR_IN6:
case SIOCGIFDSTADDR_IN6:
case SIOCGIFNETMASK_IN6:
case SIOCDIFADDR_IN6:
- case SIOCGIFPSRCADDR_IN6:
- case SIOCGIFPDSTADDR_IN6:
case SIOCGIFAFLAG_IN6:
case SIOCSNDFLUSH_IN6:
case SIOCSPFXFLUSH_IN6: