summaryrefslogtreecommitdiffstats
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-09-11 09:19:44 +0000
committerglebius <glebius@FreeBSD.org>2013-09-11 09:19:44 +0000
commit3b39d8bc1713816a989b1c9fd12c401f3a010087 (patch)
tree97fba8f4794b7af6616bb33790ea1ff2109b0d60 /sys/net/if_spppsubr.c
parent348fe8d4cea62927fae0e4f13c251f403348e86c (diff)
downloadFreeBSD-src-3b39d8bc1713816a989b1c9fd12c401f3a010087.zip
FreeBSD-src-3b39d8bc1713816a989b1c9fd12c401f3a010087.tar.gz
Clean up SIOCSIFDSTADDR usage from ifnet drivers. The ioctl itself is
extremely outdated, and I doubt that it was ever used for ifnet drivers. It was used for AF_INET sockets in pre-FreeBSD time. Approved by: re (hrs) Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 7255545..9fe713c 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1200,7 +1200,6 @@ sppp_ioctl(struct ifnet *ifp, IOCTL_CMD_T cmd, void *data)
rv = 0;
switch (cmd) {
case SIOCAIFADDR:
- case SIOCSIFDSTADDR:
break;
case SIOCSIFADDR:
OpenPOWER on IntegriCloud