diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 8fb2a99..dc8414d 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -1676,6 +1676,7 @@ function reload_tunnel_spd_policy($phase1, $phase2, $old_phase1, $old_phase2) { /* see if this tunnel has a hostname for the remote-gateway, and if so, * try to resolve it now and add it to the list for filterdns */ + $rgip = ""; if (!is_ipaddr($phase1['remote-gateway'])) { if(! $g['booting']) { $rgip = resolve_retry($phase1['remote-gateway']); |