diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-09-10 11:08:14 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-09-10 11:08:14 +0000 |
commit | 1d4bd2bc7926c0ab961e917cb90b0bb21fb9dffe (patch) | |
tree | cecbb9289937b5c5fe30094eba912e7306bf90c8 /usr | |
parent | 1fb7c2652868c5c4f336d6d648265c31688af1aa (diff) | |
download | pfsense-1d4bd2bc7926c0ab961e917cb90b0bb21fb9dffe.zip pfsense-1d4bd2bc7926c0ab961e917cb90b0bb21fb9dffe.tar.gz |
Catch up with function renaming.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_interfaces.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php index 3db0e3f..2aa5482 100755 --- a/usr/local/www/status_interfaces.php +++ b/usr/local/www/status_interfaces.php @@ -49,18 +49,18 @@ if ($_POST) { $ifcfg = &$config['interfaces'][$interface]; if ($_POST['submit'] == "Disconnect" || $_POST['submit'] == "Release") { if ($ifcfg['ipaddr'] == "dhcp") - interfaces_dhcp_down($interface); + interface_dhcp_down($interface); else if ($ifcfg['ipaddr'] == "pppoe") - interfaces_wan_pppoe_down($interface); + interface_pppoe_down($interface); else if ($ifcfg['ipaddr'] == "pptp") - interfaces_wan_pptp_down($interface); + interface_pptp_down($interface); } else if ($_POST['submit'] == "Connect" || $_POST['submit'] == "Renew") { if ($ifcfg['ipaddr'] == "dhcp") - interfaces_dhcp_up($interface); + interface_dhcp_up($interface); else if ($ifcfg['ipaddr'] == "pppoe") - interfaces_wan_pppoe_up($interface); + interface_pppoe_up($interface); else if ($ifcfg['ipaddr'] == "pptp") - interfaces_wan_pptp_up($interface); + interface_pptp_up($interface); } else { header("Location: index.php"); exit; |