mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
[Network] Fix failing build on ESP8266
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#ifdef ESP8266
|
||||
|
||||
# include "../../../src/Helpers/StringConverter.h"
|
||||
# include "../Globals/NetworkState.h"
|
||||
|
||||
namespace ESPEasy {
|
||||
namespace net {
|
||||
|
||||
@@ -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"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user