Skip to content

Commit 6b6f535

Browse files
author
Mika Leppänen
committed
Corrected EUI-64 address bit flip on supplicant
1 parent 015f3fe commit 6b6f535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/6LoWPAN/ws/ws_pae_supp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ static int8_t ws_pae_supp_parent_eui_64_get(protocol_interface_info_entry_t *int
11011101
const uint8_t *parent_ll_addr = rpl_control_preferred_parent_addr(instance, false);
11021102
if (parent_ll_addr) {
11031103
memcpy(eui_64, &parent_ll_addr[8], 8);
1104-
eui_64[0] |= 0x02;
1104+
eui_64[0] ^= 0x02;
11051105
return 0;
11061106
}
11071107
}

0 commit comments

Comments
 (0)