summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/if_plip.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/dev/ppbus/if_plip.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/dev/ppbus/if_plip.c')
-rw-r--r--sys/dev/ppbus/if_plip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c
index ceb4bce..60fc212 100644
--- a/sys/dev/ppbus/if_plip.c
+++ b/sys/dev/ppbus/if_plip.c
@@ -410,7 +410,6 @@ lpioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
int error;
switch (cmd) {
- case SIOCSIFDSTADDR:
case SIOCAIFADDR:
case SIOCSIFADDR:
if (ifa->ifa_addr->sa_family != AF_INET)
OpenPOWER on IntegriCloud