diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/ipsec.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/ipsec.inc b/etc/inc/ipsec.inc index 0eefa92..e15a14c 100644 --- a/etc/inc/ipsec.inc +++ b/etc/inc/ipsec.inc @@ -143,6 +143,7 @@ function ipsec_get_phase1_src(& $ph1ent) { * Return phase1 local address */ function ipsec_get_phase1_dst(& $ph1ent) { + global $g; $rg = $ph1ent['remote-gateway']; if (!is_ipaddr($rg)) { |