diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_ppp.c | 13 | ||||
-rw-r--r-- | sys/net/if_sl.c | 15 | ||||
-rw-r--r-- | sys/net/if_tun.c | 15 |
3 files changed, 0 insertions, 43 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c index e99cb33..fe7ea4f 100644 --- a/sys/net/if_ppp.c +++ b/sys/net/if_ppp.c @@ -544,19 +544,6 @@ pppsioctl(ifp, cmd, data) case SIOCADDMULTI: case SIOCDELMULTI: - switch(ifr->ifr_addr.sa_family) { -#ifdef INET - case AF_INET: - break; -#endif -#ifdef IPX /* ??? IPX support multicast? */ - case AF_IPX: - break; -#endif - default: - error = EAFNOSUPPORT; - break; - } break; case SIOCGPPPSTATS: diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index 761de93..8ffb418 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -958,21 +958,6 @@ slioctl(ifp, cmd, data) 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; case SIOCSIFMTU: 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; |