From 1d4bd2bc7926c0ab961e917cb90b0bb21fb9dffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Wed, 10 Sep 2008 11:08:14 +0000 Subject: Catch up with function renaming. --- usr/local/www/status_interfaces.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'usr/local/www/status_interfaces.php') 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; -- cgit v1.1