mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
firewall: fix a crash report
This commit is contained in:
parent
0cdad62a63
commit
4725b679ad
@ -2829,7 +2829,7 @@ EOD;
|
||||
unset($alports);
|
||||
}
|
||||
|
||||
if ($pptpdcfg['mode'] && $pptpdcfg['mode'] == 'server' && !isset($config['system']['disablevpnrules'])) {
|
||||
if (isset($pptpdcfg['mode']) && $pptpdcfg['mode'] == 'server' && !isset($config['system']['disablevpnrules'])) {
|
||||
if ($pptpdcfg['mode'] == "server") {
|
||||
$pptpdtarget = get_interface_ip();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user