diff options
| author | Duncan Barclay <dmlb@FreeBSD.org> | 2001-03-04 20:56:45 +0000 |
|---|---|---|
| committer | Duncan Barclay <dmlb@FreeBSD.org> | 2001-03-04 20:56:45 +0000 |
| commit | a6a0d91dba974886025bc785360ffb0b1c6a6567 (patch) | |
| tree | 6ca246047cfcf853e0c8454b9c60007b7d738693 /sys/dev/ray | |
| parent | 8125b1e66e24fa1bb69404af1899da7bbad85d5e (diff) | |
Notes
Diffstat (limited to 'sys/dev/ray')
| -rw-r--r-- | sys/dev/ray/if_ray.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ray/if_ray.c b/sys/dev/ray/if_ray.c index d28eb2d5a3ec..b1b5dbdf38ac 100644 --- a/sys/dev/ray/if_ray.c +++ b/sys/dev/ray/if_ray.c @@ -2402,7 +2402,7 @@ ray_mcast(struct ray_softc *sc, struct ray_comq_entry *com) struct ifnet *ifp = &sc->arpcom.ac_if; struct ifmultiaddr *ifma; size_t bufp; - int count; + int count = 0; RAY_DPRINTF(sc, RAY_DBG_SUBR, ""); RAY_MAP_CM(sc); @@ -2421,6 +2421,7 @@ ray_mcast(struct ray_softc *sc, struct ray_comq_entry *com) * mode and don't bother updating the multicast list. */ TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) + count++; if (count == 0) { ray_com_runq_done(sc); return; |
