Skip to content

Commit

Permalink
Make global scope IPv6 mandatory (this firmware will only work on dua…
Browse files Browse the repository at this point in the history
…l stack networks)

Also remove 5 second delay (not needed when enforcing IPv6)
  • Loading branch information
Phaze-III committed May 6, 2024
1 parent 8df5586 commit d754629
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions airrohr-firmware/airrohr-firmware.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2926,11 +2926,10 @@ static void waitForWifiToConnect(int maxRetries)
{
for (auto addr : addrList)
if ((configured = !addr.isLocal()
// && addr.isV6() // uncomment when IPv6 is mandatory
&& addr.isV6() // uncomment when IPv6 is mandatory
// && addr.ifnumber() == STATION_IF
))
{
delay(5000); // Wait 5 seconds (seems needed with IPv6 autoconfig)
break;
}
delay(500);
Expand Down

0 comments on commit d754629

Please sign in to comment.