git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af5a42b
)
ctdb-common: Avoid single line multi-assignment
author
Martin Schwenke
<martin@meltin.net>
Tue, 14 Aug 2018 03:49:25 +0000
(13:49 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Thu, 30 Aug 2018 02:48:58 +0000
(
04:48
+0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/common/system_socket.c
patch
|
blob
|
history
diff --git
a/ctdb/common/system_socket.c
b/ctdb/common/system_socket.c
index 842ad2b922afe8a972d3b3ffc7248712832a855e..838eb4ba9f6c374d70dd383ffdb6f3605b109bf6 100644
(file)
--- 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);