1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

Don't try to do anything with the `ifr' parameter for SIOCADDMULTI

and SIOCDELMULTI; it is guaranteed to be null in the new system.
This commit is contained in:
Garrett Wollman 1997-01-17 19:38:16 +00:00
parent eb6b45e544
commit c7e54a6a04
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21818
3 changed files with 0 additions and 43 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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;