Commit 4ca71c32 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: one sweep through the file

parent 88787945
This diff is collapsed.
......@@ -489,7 +489,8 @@ $upperifname = strtoupper($interface);
if (!$dry_run) {
echo "\nPlease wait while the changes are saved to {$upperifname}...";
write_config(sprintf('%s IP configuration from console menu', $interface));
interface_reconfigure(strtolower($upperifname));
interface_bring_down($interface);
interface_configure($interface);
echo "\n Reloading filter...";
filter_configure_sync();
if ($restart_dhcpd) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment