From a67899573a4386c212949303e26d0bed506abd8f Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 14 Aug 2018 13:49:25 +1000 Subject: [PATCH] ctdb-common: Avoid single line multi-assignment Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/common/system_socket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ctdb/common/system_socket.c b/ctdb/common/system_socket.c index 842ad2b922a..838eb4ba9f6 100644 --- a/ctdb/common/system_socket.c +++ b/ctdb/common/system_socket.c @@ -272,7 +272,8 @@ static int ip6_na_build(uint8_t *buffer, * Ethernet multicast: 33:33:00:00:00:01 (see RFC2464, * section 7) - note memset 0 above! */ - eh->ether_dhost[0] = eh->ether_dhost[1] = 0x33; + eh->ether_dhost[0] = 0x33; + eh->ether_dhost[1] = 0x33; eh->ether_dhost[5] = 0x01; memcpy(eh->ether_shost, hwaddr, ETH_ALEN); eh->ether_type = htons(ETHERTYPE_IP6); -- 2.47.2