From 0847d1b9042a2c034b352dcf1083c84fafee8885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Sun, 19 Oct 2008 14:36:47 +0000 Subject: [PATCH] When disabling an interface bring it down also. --- usr/local/www/interfaces.php | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index a3dcd4199f..2bdc72b439 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -743,6 +743,7 @@ if ($_POST['apply']) { } } else { unset($wancfg['enable']); + interface_bring_down($if); write_config("Interface {$_POST['descr']}({$if}) is now disabled."); touch($d_landirty_path); header("Location: interfaces.php?if={$if}");