summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index e46ea80..9612db6 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -239,7 +239,7 @@ function vpn_ipsec_configure($ipchg = false) {
if($sasyncd['ip'] <> "")
$curwanip = $sasyncd['ip'];
/* natt - turn on if <developer/> exists */
- if(isset($config['system']['developer'] <> "")) {
+ if(isset($config['system']['developer']) <> "") {
$lanip = $config['interfaces']['lan']['ipaddr'];
if($lanip <> "")
$natt = "isakmp_natt {$lanip}[4500];\n";
OpenPOWER on IntegriCloud