mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
[PPP] Show info even when no connection to provider is active
This commit is contained in:
@@ -60,7 +60,7 @@ bool NWPlugin_005(NWPlugin::Function function, EventStruct *event, String& strin
|
||||
ESPEasy::net::ppp::NW005_data_struct_PPP_modem *NW_data =
|
||||
static_cast<ESPEasy::net::ppp::NW005_data_struct_PPP_modem *>(getNWPluginData(event->NetworkIndex));
|
||||
|
||||
if (NW_data && NW_data->attached()) {
|
||||
if (NW_data /*&& NW_data->attached()*/) {
|
||||
event->networkInterface = &PPP;
|
||||
success = event->networkInterface != nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user