summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-02-28 19:30:27 +0000
committerErmal Luçi <eri@pfsense.org>2009-02-28 19:30:27 +0000
commit56e1d16eba68ed0809cc9e026c120e9daabe56c3 (patch)
tree25048f25c5c8c54e2cde79d412969ea73a7c5562 /usr
parenta7db7d3ab81632ce2eae27208688a5fce1458a45 (diff)
downloadpfsense-56e1d16eba68ed0809cc9e026c120e9daabe56c3.zip
pfsense-56e1d16eba68ed0809cc9e026c120e9daabe56c3.tar.gz
Correctly show actions such as Connect/Disconnect on Status Interfaces page.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_interfaces.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index 29d0e3a..cb749d3 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -48,10 +48,9 @@ if ($_GET['if']) {
interface_bring_down($interface);
} else if ($_GET['action'] == "Connect" || $_GET['action'] == "Renew") {
interface_configure($interface);
- } else {
- header("Location: status_interfaces.php");
- exit;
}
+ header("Location: status_interfaces.php");
+ exit;
}
$pgtitle = array("Status","Interfaces");
OpenPOWER on IntegriCloud