diff --git a/src/www/vpn_ipsec_phase1.php b/src/www/vpn_ipsec_phase1.php index d020f5c53..c277b812c 100644 --- a/src/www/vpn_ipsec_phase1.php +++ b/src/www/vpn_ipsec_phase1.php @@ -109,7 +109,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $pconfig['remotebits'] = null; $pconfig['remotenet'] = null ; if (isset($a_phase1[$p1index]['remote-subnet']) && strpos($config['ipsec']['phase1'][$p1index]['remote-subnet'],'/') !== false) { - list($pconfig['remotenet'],$pconfig['remotebits']) = explode("/", $config['ipsec']['phase1'][$p1index]['remote-subnet']); + list($pconfig['remotenet'],$pconfig['remotebits']) = explode("/", $config['ipsec']['phase1'][$p1index]['remote-subnet']); } elseif (isset($config['ipsec']['phase1'][$p1index]['remote-subnet'])) { $pconfig['remotenet'] = $config['ipsec']['phase1'][$p1index]['remote-subnet']; } @@ -628,7 +628,7 @@ function dpdchkbox_change() { -