diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-09-09 11:08:02 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-09-09 11:08:02 +0000 |
commit | 69e5a8be8dd049725b4df12aed425300a2a041e8 (patch) | |
tree | b71bd2aa7346c346b8f92dc6fb927195926a3269 /usr/local | |
parent | e1bce2c5d715c97e5f57e880c1543fc239aadf45 (diff) | |
download | pfsense-69e5a8be8dd049725b4df12aed425300a2a041e8.zip pfsense-69e5a8be8dd049725b4df12aed425300a2a041e8.tar.gz |
Rename interfaces_wan_configure to interface_configure now that it is used for all assigned interface configuration.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/interfaces.php | 2 | ||||
-rw-r--r-- | usr/local/www/interfaces_bridge_edit.php | 2 | ||||
-rw-r--r-- | usr/local/www/interfaces_lagg_edit.php | 2 | ||||
-rwxr-xr-x | usr/local/www/interfaces_vlan_edit.php | 2 | ||||
-rwxr-xr-x | usr/local/www/system.php | 3 |
5 files changed, 6 insertions, 5 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 62a3fdb..93f952f 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -1418,7 +1418,7 @@ if ($_POST) { flush(); sleep(1); - interfaces_wan_configure($if); + interface_configure($if); reset_carp(); diff --git a/usr/local/www/interfaces_bridge_edit.php b/usr/local/www/interfaces_bridge_edit.php index 6a3b397..98d9dc1 100644 --- a/usr/local/www/interfaces_bridge_edit.php +++ b/usr/local/www/interfaces_bridge_edit.php @@ -195,7 +195,7 @@ if ($_POST) { $confif = convert_real_interface_to_friendly_interface_name($bridge['bridgeif']); if ($confif <> "") - interfaces_wan_configure($confif); + interface_configure($confif); header("Location: interfaces_bridge.php"); diff --git a/usr/local/www/interfaces_lagg_edit.php b/usr/local/www/interfaces_lagg_edit.php index 7eb3cd1..f52a518 100644 --- a/usr/local/www/interfaces_lagg_edit.php +++ b/usr/local/www/interfaces_lagg_edit.php @@ -83,7 +83,7 @@ if ($_POST) { $confif = convert_real_interface_to_friendly_interface_name($lagg['laggif']); if ($confif <> "") - interfaces_wan_configure($confif); + interface_configure($confif); header("Location: interfaces_lagg.php"); exit; diff --git a/usr/local/www/interfaces_vlan_edit.php b/usr/local/www/interfaces_vlan_edit.php index ad8e7c8..f335ab8 100755 --- a/usr/local/www/interfaces_vlan_edit.php +++ b/usr/local/www/interfaces_vlan_edit.php @@ -102,7 +102,7 @@ if ($_POST) { $confif = convert_real_interface_to_friendly_interface_name($vlan['vlanif']); if ($confif <> "") - interfaces_wan_configure($confif); + interface_configure($confif); header("Location: interfaces_vlan.php"); exit; diff --git a/usr/local/www/system.php b/usr/local/www/system.php index 5ed8065..3771357 100755 --- a/usr/local/www/system.php +++ b/usr/local/www/system.php @@ -180,8 +180,9 @@ if ($_POST) { $retval |= system_timezone_configure(); $retval |= system_ntp_configure(); + /* XXX: ermal -- What is this supposed to do?! */ if ($olddnsallowoverride != $config['system']['dnsallowoverride']) - $retval |= interfaces_wan_configure(); + $retval |= interface_configure(); config_unlock(); |