From d75462951c2bf2268dd6e0f5f8c58b22796386d6 Mon Sep 17 00:00:00 2001 From: Phaze-III Date: Mon, 6 May 2024 16:52:35 +0200 Subject: [PATCH] Make global scope IPv6 mandatory (this firmware will only work on dual stack networks) Also remove 5 second delay (not needed when enforcing IPv6) --- airrohr-firmware/airrohr-firmware.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/airrohr-firmware/airrohr-firmware.ino b/airrohr-firmware/airrohr-firmware.ino index 96b84b05..76ef2bd9 100644 --- a/airrohr-firmware/airrohr-firmware.ino +++ b/airrohr-firmware/airrohr-firmware.ino @@ -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);