[Network] Fix failing build on ESP8266

This commit is contained in:
TD-er
2026-02-17 19:28:27 +01:00
parent 1e5e2cf1ee
commit 8d0aaaee02
2 changed files with 4 additions and 1 deletions
@@ -3,6 +3,7 @@
#ifdef ESP8266
# include "../../../src/Helpers/StringConverter.h"
# include "../Globals/NetworkState.h"
namespace ESPEasy {
namespace net {
+3 -1
View File
@@ -379,11 +379,13 @@ void handle_networks_NetworkSettingsPage(ESPEasy::net::networkIndex_t networkind
Settings.getRoutePrio_for_network(networkindex),
0, 255);
addFormNote(F("The active interface with highest priority will be used for default route (gateway)."));
# endif // ifdef ESP32
addFormCheckBox(F("Fallback Interface"), F("fallback"), Settings.getNetworkInterface_isFallback(networkindex));
# endif // ifdef ESP32
addFormNumericBox(F("Delay Startup"), F("delay_start"), Settings.getNetworkInterfaceStartupDelay(networkindex), 0, 60000);
addUnit(F("ms"));
#ifdef ESP32
addFormNote(F("For fallback interface, it is the delay after connection of primary interface has failed. For non-fallback it is the delay from boot"));
#endif
addFormCheckBox(F("Block Web Access"), F("block_web_access"), Settings.getNetworkInterfaceSubnetBlockClientIP(networkindex));
addFormNote(F("When checked, any host from a subnet on this network interface will be blocked to access the ESPEasy web interface"));