projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added my responsibility for the `cpm' port
[unix-history]
/
sys
/
netinet
/
if_ether.c
diff --git
a/sys/netinet/if_ether.c
b/sys/netinet/if_ether.c
index
d517bc4
..
8c1587b
100644
(file)
--- 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
* SUCH DAMAGE.
*
* from: @(#)if_ether.c 7.13 (Berkeley) 10/31/90
- * $Id: if_ether.c,v 1.
3 1993/10/16 18:25:54 rgrimes
Exp $
+ * $Id: if_ether.c,v 1.
4 1993/11/25 01:34:57 wollman
Exp $
*/
/*
*/
/*
@@
-197,6
+197,12
@@
arpresolve(ac, m, destip, desten, usetrailers)
sizeof(etherbroadcastaddr));
return (1);
}
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)
lna = in_lnaof(*destip);
/* if for us, use software loopback driver if up */
for (ia = in_ifaddr; ia; ia = ia->ia_next)