diff options
-rwxr-xr-x | usr/local/www/interfaces_lan.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php index b800050..6a9ad88 100755 --- a/usr/local/www/interfaces_lan.php +++ b/usr/local/www/interfaces_lan.php @@ -128,8 +128,6 @@ if ($_POST) { if ($_POST['apply'] <> "") { - interfaces_lan_configure(); - unlink($d_landirty_path); $savemsg = "The changes have been applied. You may need to correct the web browsers ip address."; @@ -258,6 +256,8 @@ function enable_change(enable_over) { if ($_POST['apply'] <> "") { + interfaces_lan_configure(); + if(file_exists($d_landirty_path)) unlink($d_landirty_path); |