diff options
author | Ermal <eri@pfsense.org> | 2014-11-01 18:55:45 +0100 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-11-01 18:55:45 +0100 |
commit | 9fdc167f4ef1c8fd1b76ba9ca6e56c8085dbe672 (patch) | |
tree | e2f77ba7c1e20a09460853483db251faa3bfb73a /etc/rc.newwanipv6 | |
parent | d338018f4798ea41975589f8c5b111568747e572 (diff) | |
download | pfsense-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-x | etc/rc.newwanipv6 | 2 |
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"); |