diff options
author | wollman <wollman@FreeBSD.org> | 1997-01-17 19:38:16 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1997-01-17 19:38:16 +0000 |
commit | 4cd908d3870fbdf4cb28fc2e68386990259f4080 (patch) | |
tree | 4a778c46bbcd649126c406cf1bf17b9997013644 /sys/net/if_tun.c | |
parent | 21d52ed98042196760548eb0603bfab0b94af17f (diff) | |
download | FreeBSD-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.c | 15 |
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; |