summaryrefslogtreecommitdiffstats
path: root/bsd_eth_drivers
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-04-23 04:43:40 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-04-23 04:43:40 +0000
commitf1c00c7473a9761d472ed375a6a1edf28166f7c6 (patch)
treeabee65d5e5c9fafb1e314e69e21fc7322bb62b4a /bsd_eth_drivers
parentc877b084d58ac8d19b7553b992ad42649aeec2be (diff)
downloadlibbsdport-f1c00c7473a9761d472ed375a6a1edf28166f7c6.tar.bz2
- added missing ETHER_SIOCMULTIFRAG() macro to ioctl (#ifdef __rtems__)
Diffstat (limited to 'bsd_eth_drivers')
-rw-r--r--bsd_eth_drivers/if_re/if_re.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsd_eth_drivers/if_re/if_re.c b/bsd_eth_drivers/if_re/if_re.c
index b9194d1..c470c9a 100644
--- a/bsd_eth_drivers/if_re/if_re.c
+++ b/bsd_eth_drivers/if_re/if_re.c
@@ -2755,6 +2755,10 @@ re_ioctl(struct ifnet *ifp, ioctl_command_t command, caddr_t data)
break;
case SIOCADDMULTI:
case SIOCDELMULTI:
+#ifdef __rtems__
+ if ( ETHER_SIOCMULTIFRAG(error, command, ifr, ifp) )
+ break;
+#endif
RL_LOCK(sc);
re_setmulti(sc);
RL_UNLOCK(sc);