diff options
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 3dc4a4a..75b10d7 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -828,7 +828,7 @@ EOD; $natfilterrules = false; if (is_array($a_phase2) && count($a_phase2)) { /* Try to prevent people from locking themselves out of webgui. Just in case. */ - if ($config['interfaces']['lan']) { + if (!isset($config['system']['noinstalllanspd']) && $config['interfaces']['lan']) { $lanip = get_interface_ip("lan"); if (!empty($lanip) && is_ipaddrv4($lanip)) { $lansn = get_interface_subnet("lan"); |