diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-10-15 11:24:49 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-10-15 11:24:49 +0000 |
commit | 9f1586e9cd6ee73ed35c612623ebef92cd34a6fb (patch) | |
tree | 313286364c719108137831d492a06e75dcd43a94 | |
parent | 6b6187a921c4afc835e0d74d565dd3acb8b3b864 (diff) |
enable ADDMULTI and DELMULTI in the ioctl handler now that the tht
it is plugged into can deal with ipv6. i dont have to be careful
about what i put on the wire anymore.
-rw-r--r-- | sys/dev/pci/if_nxe.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/pci/if_nxe.c b/sys/dev/pci/if_nxe.c index 1e468c21fd1..382c19d2f43 100644 --- a/sys/dev/pci/if_nxe.c +++ b/sys/dev/pci/if_nxe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nxe.c,v 1.52 2007/10/01 15:34:48 krw Exp $ */ +/* $OpenBSD: if_nxe.c,v 1.53 2007/10/15 11:24:48 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -1058,6 +1058,13 @@ nxe_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr) error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd); break; + case SIOCADDMULTI: + error = ether_addmulti(ifr, &sc->sc_ac); + break; + case SIOCDELMULTI: + error = ether_delmulti(ifr, &sc->sc_ac); + break; + default: error = ENOTTY; break; |