1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Return iface name in absence of cfgFile

This commit is contained in:
billz 2020-10-02 09:27:35 +01:00
parent fa2f3d5cdd
commit 602c2a2a7f

View File

@ -33,7 +33,7 @@ if (isset($_POST['generate'])) {
}
$strConfFile .= "fallback static_".$cnfFile['interface']."\n\n";
} else {
$strConfFile .= "#DHCP configured for ".$cnfFile['interface']."\n\n";
$strConfFile .= "#DHCP configured for ".pathinfo($file, PATHINFO_FILENAME)."\n\n";
}
}
}