summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tun.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-01-17 19:38:16 +0000
committerwollman <wollman@FreeBSD.org>1997-01-17 19:38:16 +0000
commit4cd908d3870fbdf4cb28fc2e68386990259f4080 (patch)
tree4a778c46bbcd649126c406cf1bf17b9997013644 /sys/net/if_tun.c
parent21d52ed98042196760548eb0603bfab0b94af17f (diff)
downloadFreeBSD-src-4cd908d3870fbdf4cb28fc2e68386990259f4080.zip
FreeBSD-src-4cd908d3870fbdf4cb28fc2e68386990259f4080.tar.gz
Don't try to do anything with the `ifr' parameter for SIOCADDMULTI
and SIOCDELMULTI; it is guaranteed to be null in the new system.
Diffstat (limited to 'sys/net/if_tun.c')
-rw-r--r--sys/net/if_tun.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c
index df84d53..985afc4 100644
--- a/sys/net/if_tun.c
+++ b/sys/net/if_tun.c
@@ -275,21 +275,6 @@ tunifioctl(ifp, cmd, data)
break;
case SIOCADDMULTI:
case SIOCDELMULTI:
- if (ifr == 0) {
- error = EAFNOSUPPORT; /* XXX */
- break;
- }
- switch (ifr->ifr_addr.sa_family) {
-
-#ifdef INET
- case AF_INET:
- break;
-#endif
-
- default:
- error = EAFNOSUPPORT;
- break;
- }
break;
OpenPOWER on IntegriCloud