summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r--sys/netinet/if_ether.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index ebad56b12dcf..47efad34eaed 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)if_ether.c 7.13 (Berkeley) 10/31/90
- * $Id: if_ether.c,v 1.4 1993/11/25 01:34:57 wollman Exp $
+ * $Id: if_ether.c,v 1.5 1994/05/17 22:31:00 jkh Exp $
*/
/*
@@ -197,6 +197,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)