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:
redraincatching 2025-07-01 13:10:45 +01:00 committed by GitHub
parent bc7cd74718
commit 0f8cdde961
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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];