From 0f8cdde961c29c4773e7593953e59e42173df4b7 Mon Sep 17 00:00:00 2001 From: redraincatching <99604494+redraincatching@users.noreply.github.com> Date: Tue, 1 Jul 2025 13:10:45 +0100 Subject: [PATCH] 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 --- src/apps/uclient/startuclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/uclient/startuclient.c b/src/apps/uclient/startuclient.c index ca977c0..b6d997d 100644 --- a/src/apps/uclient/startuclient.c +++ b/src/apps/uclient/startuclient.c @@ -657,7 +657,7 @@ beg_allocate: if (dual_allocation && !mobility) { uint8_t rand = (uint8_t)turn_random(); bool add_requested_family = rand & 0x01; - bool use_ipv4 = rand & 0x03; + bool use_ipv4 = rand & 0x02; if (add_requested_family) { uint8_t field[4];