Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144515950
D52345.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
402 B
Referenced Files
None
Subscribers
None
D52345.diff
View Options
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -695,7 +695,7 @@
* seen by upper protocol layers.
*/
if (!ETHER_IS_MULTICAST(eh->ether_dhost) &&
- bcmp(IF_LLADDR(ifp), eh->ether_dhost, ETHER_ADDR_LEN) != 0)
+ memcmp(IF_LLADDR(ifp), eh->ether_dhost, ETHER_ADDR_LEN) != 0)
m->m_flags |= M_PROMISC;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 10, 2:07 AM (15 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28610311
Default Alt Text
D52345.diff (402 B)
Attached To
Mode
D52345: ethernet: Prefer memcmp() over bcmp()
Attached
Detach File
Event Timeline
Log In to Comment