diff options
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; |