diff options
author | Ermal <eri@pfsense.org> | 2010-07-21 20:35:30 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-07-21 20:35:30 +0000 |
commit | fb86a74b80b2da0c104b09314526733bf9b46185 (patch) | |
tree | 0ade59a0765df11769184df802ae608de0661009 | |
parent | 3cc0728228d1062903d73ffa899eb004f2f670d6 (diff) | |
download | pfsense-fb86a74b80b2da0c104b09314526733bf9b46185.zip pfsense-fb86a74b80b2da0c104b09314526733bf9b46185.tar.gz |
Fixes #755. Workaround bug on dnswatch and properties_read by actually creating a correct file for properties_read API.
-rw-r--r-- | etc/inc/vpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 8a2bb85..121d700 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -162,7 +162,7 @@ function vpn_ipsec_configure($ipchg = false) $rg = $ph1ent['remote-gateway']; if (!is_ipaddr($rg)) { - $dnswatch_list[] = $rg; + $dnswatch_list[] = "{$rg} = value"; add_hostname_to_watch($rg); $rg = resolve_retry($rg); if (!$rg) |