Revision 892d23bc
Added by Ermal LUÇI over 11 years ago
etc/inc/filter.inc | ||
---|---|---|
3403 | 3403 |
$ipfrules .= "# Could not locate interface for IPsec: {$descr}\n"; |
3404 | 3404 |
continue; |
3405 | 3405 |
} |
3406 |
|
|
3407 |
unset($gateway); |
|
3406 | 3408 |
/* add endpoint routes to correct gateway on interface */ |
3407 | 3409 |
if((is_ipaddrv4($rgip)) && (interface_has_gateway($parentinterface))) { |
3408 | 3410 |
$gateway = get_interface_gateway($parentinterface); |
Also available in: Unified diff
Unset this variable used in the loop to avoid having wrong information