diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-01-09 06:29:07 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-01-09 06:29:07 +0000 |
commit | e5db1da839bcc3eb523abc2429d8bf3c0542f1d1 (patch) | |
tree | de92b45c1df839e5d66c0e0b67e112a08eca383e /sys/netinet/if_ether.h | |
parent | ad3d6f1ea784412bf6dad245a303733c68232f86 (diff) |
bzero/bcmp -> memset/memcmp. ok matthew
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r-- | sys/netinet/if_ether.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h index 10c8b0703a2..33acb83e9a8 100644 --- a/sys/netinet/if_ether.h +++ b/sys/netinet/if_ether.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.h,v 1.52 2013/11/21 16:34:33 mikeb Exp $ */ +/* $OpenBSD: if_ether.h,v 1.53 2014/01/09 06:29:05 tedu Exp $ */ /* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */ /* @@ -245,9 +245,9 @@ struct ether_multistep { /* struct ether_multi *enm; */ \ do { \ for ((enm) = LIST_FIRST(&(ac)->ac_multiaddrs); \ - (enm) != NULL && \ - (bcmp((enm)->enm_addrlo, (addrlo), ETHER_ADDR_LEN) != 0 || \ - bcmp((enm)->enm_addrhi, (addrhi), ETHER_ADDR_LEN) != 0); \ + (enm) != NULL && \ + (memcmp((enm)->enm_addrlo, (addrlo), ETHER_ADDR_LEN) != 0 ||\ + memcmp((enm)->enm_addrhi, (addrhi), ETHER_ADDR_LEN) != 0); \ (enm) = LIST_NEXT((enm), enm_list)); \ } while (/* CONSTCOND */ 0) |