From: Martin Schwenke Date: Tue, 14 Aug 2018 03:49:25 +0000 (+1000) Subject: ctdb-common: Avoid single line multi-assignment X-Git-Tag: tdb-1.3.17~1970 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a67899573a4386c212949303e26d0bed506abd8f;p=thirdparty%2Fsamba.git ctdb-common: Avoid single line multi-assignment Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- 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);