Jelajahi Sumber

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
redraincatching 3 bulan lalu
induk
melakukan
0f8cdde961
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/apps/uclient/startuclient.c

+ 1 - 1
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];