>From cmaeda@cs.washington.edu; part of the multicast patches derived
from the Multicast patches for BSDI. Thanx to Brad Parker for making me realize i'd forgotten to commit this patch..(color me dopey)
This commit is contained in:
parent
ac0c68e1db
commit
ded89d12bc
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)if_ether.c 7.13 (Berkeley) 10/31/90
|
||||
* $Id: if_arp.c,v 1.3 1993/06/27 06:02:37 andrew Exp $
|
||||
* $Id: if_arp.c,v 1.4 1993/12/12 20:43:06 hpeyerl Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -193,6 +193,12 @@ arpresolve(ac, m, destip, desten, usetrailers)
|
||||
sizeof(etherbroadcastaddr));
|
||||
return (1);
|
||||
}
|
||||
#ifdef MULTICAST
|
||||
if (m->m_flags & M_MCAST) { /* multicast */
|
||||
ETHER_MAP_IP_MULTICAST(destip, desten);
|
||||
return(1);
|
||||
}
|
||||
#endif
|
||||
lna = in_lnaof(*destip);
|
||||
/* if for us, use software loopback driver if up */
|
||||
for (ia = in_ifaddr; ia; ia = ia->ia_next)
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)if_ether.c 7.13 (Berkeley) 10/31/90
|
||||
* $Id: if_ether.c,v 1.3 1993/06/27 06:02:37 andrew Exp $
|
||||
* $Id: if_ether.c,v 1.4 1993/12/12 20:43:06 hpeyerl Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -193,6 +193,12 @@ arpresolve(ac, m, destip, desten, usetrailers)
|
||||
sizeof(etherbroadcastaddr));
|
||||
return (1);
|
||||
}
|
||||
#ifdef MULTICAST
|
||||
if (m->m_flags & M_MCAST) { /* multicast */
|
||||
ETHER_MAP_IP_MULTICAST(destip, desten);
|
||||
return(1);
|
||||
}
|
||||
#endif
|
||||
lna = in_lnaof(*destip);
|
||||
/* if for us, use software loopback driver if up */
|
||||
for (ia = in_ifaddr; ia; ia = ia->ia_next)
|
||||
|
Loading…
x
Reference in New Issue
Block a user