summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanipv6
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-11-01 18:55:45 +0100
committerErmal <eri@pfsense.org>2014-11-01 18:55:45 +0100
commit9fdc167f4ef1c8fd1b76ba9ca6e56c8085dbe672 (patch)
treee2f77ba7c1e20a09460853483db251faa3bfb73a /etc/rc.newwanipv6
parentd338018f4798ea41975589f8c5b111568747e572 (diff)
downloadpfsense-9fdc167f4ef1c8fd1b76ba9ca6e56c8085dbe672.zip
pfsense-9fdc167f4ef1c8fd1b76ba9ca6e56c8085dbe672.tar.gz
Properly test if FCGI is calling or are being triggered from shell. Normally Fixes #3361
Diffstat (limited to 'etc/rc.newwanipv6')
-rwxr-xr-xetc/rc.newwanipv62
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanipv6 b/etc/rc.newwanipv6
index f14ab87..7e76d88 100755
--- a/etc/rc.newwanipv6
+++ b/etc/rc.newwanipv6
@@ -55,7 +55,7 @@ function restart_packages() {
}
/* Interface IP address has changed */
-if (isset($_GET))
+if (isset($_GET['interface']))
$argument = $_GET['interface'];
else
$argument = trim($argv[1], " \n\t");
OpenPOWER on IntegriCloud