summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/status_interfaces.php12
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;
OpenPOWER on IntegriCloud