summaryrefslogtreecommitdiff
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-10-20 09:35:10 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-10-20 09:35:10 +0000
commit34cfb4dc3e8c6c7c8bf396ae6446f109f04c7fe9 (patch)
tree39a01c899ff68e02ad6fa7aa0fba4ae0a01b138c /sys/net/if_spppsubr.c
parentddcc005f9a59954e7a3886be80552d65117f9383 (diff)
Kill dead ioctl handlers.
SIOCGIF{HARD,}MTU are handled by ifioctl() and not passed down to drivers. ok visa@
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 045d4f4f627..91ec6fe151b 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.172 2017/08/15 06:08:52 florian Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.173 2017/10/20 09:35:09 mpi Exp $ */
/*
* Synchronous PPP link level subroutines.
*
@@ -864,12 +864,6 @@ sppp_ioctl(struct ifnet *ifp, u_long cmd, void *data)
}
ifp->if_mtu = ifr->ifr_mtu;
break;
- case SIOCGIFMTU:
- ifr->ifr_mtu = ifp->if_mtu;
- break;
- case SIOCGIFHARDMTU:
- ifr->ifr_hardmtu = ifp->if_hardmtu;
- break;
case SIOCADDMULTI:
case SIOCDELMULTI:
break;