diff options
author | Ermal <eri@pfsense.org> | 2010-12-21 16:37:14 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-21 16:38:30 +0000 |
commit | a2ec32a9b2d895e1c1f4740e0e347b8f2b8db6a4 (patch) | |
tree | 0f785fbd2cb090a84ab73c43abb31b6c1dc3b4b9 | |
parent | dbdcaef4f3b9579b924a102c130764792cffbe23 (diff) | |
download | pfsense-a2ec32a9b2d895e1c1f4740e0e347b8f2b8db6a4.zip pfsense-a2ec32a9b2d895e1c1f4740e0e347b8f2b8db6a4.tar.gz |
Reconfigure the assigned interface settings if we are modifying the clone settings from interfaces->assign->TYPE.
-rw-r--r-- | usr/local/www/interfaces_gif_edit.php | 4 | ||||
-rw-r--r-- | usr/local/www/interfaces_gre_edit.php | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_gif_edit.php b/usr/local/www/interfaces_gif_edit.php index 59bad8f..6744979 100644 --- a/usr/local/www/interfaces_gif_edit.php +++ b/usr/local/www/interfaces_gif_edit.php @@ -111,6 +111,10 @@ if ($_POST) { write_config(); + $confif = convert_real_interface_to_friendly_interface_name($gif['gifif']); + if ($confif <> "") + interface_configure($confif); + header("Location: interfaces_gif.php"); exit; } diff --git a/usr/local/www/interfaces_gre_edit.php b/usr/local/www/interfaces_gre_edit.php index ce9f324..ca95369 100644 --- a/usr/local/www/interfaces_gre_edit.php +++ b/usr/local/www/interfaces_gre_edit.php @@ -114,6 +114,10 @@ if ($_POST) { write_config(); + $confif = convert_real_interface_to_friendly_interface_name($gre['greif']); + if ($confif <> "") + interface_configure($confif); + header("Location: interfaces_gre.php"); exit; } |