summaryrefslogtreecommitdiff
path: root/src/libsystemd-network
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-05-23 15:57:31 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-26 15:34:42 +0200
commit16f0b479cafb745c23efb1a96ccc520fe29e8d7c (patch)
treeb1726e7fd511389c372c44205aa411c96cd5eebd /src/libsystemd-network
parent3d0b8a55f26e6924d5177d2e65670436922790c4 (diff)
sd-dhcp: shorten NUL initialization a bit
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r--src/libsystemd-network/sd-dhcp-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-dhcp-client.c b/src/libsystemd-network/sd-dhcp-client.c
index f0ad9efbc6..aa028e1d24 100644
--- a/src/libsystemd-network/sd-dhcp-client.c
+++ b/src/libsystemd-network/sd-dhcp-client.c
@@ -1624,7 +1624,7 @@ static int client_receive_message_udp(
sd_dhcp_client *client = userdata;
_cleanup_free_ DHCPMessage *message = NULL;
- const struct ether_addr zero_mac = { { 0, 0, 0, 0, 0, 0 } };
+ const struct ether_addr zero_mac = {};
const struct ether_addr *expected_chaddr = NULL;
uint8_t expected_hlen = 0;
ssize_t len, buflen;