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
1 changed files with 1 additions and 1 deletions

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";
}
}
}