summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/sd-icmp6-nd.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-11 16:58:45 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-11 16:58:45 +0100
commiteccaf899331ecbe3807739b6356ebba3d71480c7 (patch)
tree7d9968c3ca604ded8b165b3463237d1822365e55 /src/libsystemd-network/sd-icmp6-nd.c
parentf7340ab269828d917cd1281e33e6dd4fdfee67b3 (diff)
tree-wide: use our memset() macros instead of memset() itself
Diffstat (limited to 'src/libsystemd-network/sd-icmp6-nd.c')
-rw-r--r--src/libsystemd-network/sd-icmp6-nd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-icmp6-nd.c b/src/libsystemd-network/sd-icmp6-nd.c
index cb06151514..fbaf093ad8 100644
--- a/src/libsystemd-network/sd-icmp6-nd.c
+++ b/src/libsystemd-network/sd-icmp6-nd.c
@@ -87,7 +87,7 @@ int sd_icmp6_nd_set_mac(sd_icmp6_nd *nd, const struct ether_addr *mac_addr) {
if (mac_addr)
memcpy(&nd->mac_addr, mac_addr, sizeof(nd->mac_addr));
else
- memset(&nd->mac_addr, 0x00, sizeof(nd->mac_addr));
+ zero(nd->mac_addr);
return 0;