summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanipv6
diff options
context:
space:
mode:
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