typo correction (#1715)
@ggarber i noticed too late that i used `0x03` instead of `0x02` by mistake - this is an issue because it means that `add_requested_family` will never be set when ipv6 is being used, so this should be fixed
This commit is contained in:
parent
bc7cd74718
commit
0f8cdde961
@ -657,7 +657,7 @@ beg_allocate:
|
|||||||
if (dual_allocation && !mobility) {
|
if (dual_allocation && !mobility) {
|
||||||
uint8_t rand = (uint8_t)turn_random();
|
uint8_t rand = (uint8_t)turn_random();
|
||||||
bool add_requested_family = rand & 0x01;
|
bool add_requested_family = rand & 0x01;
|
||||||
bool use_ipv4 = rand & 0x03;
|
bool use_ipv4 = rand & 0x02;
|
||||||
|
|
||||||
if (add_requested_family) {
|
if (add_requested_family) {
|
||||||
uint8_t field[4];
|
uint8_t field[4];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user