summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-07-21 20:35:30 +0000
committerErmal <eri@pfsense.org>2010-07-21 20:35:30 +0000
commitfb86a74b80b2da0c104b09314526733bf9b46185 (patch)
tree0ade59a0765df11769184df802ae608de0661009
parent3cc0728228d1062903d73ffa899eb004f2f670d6 (diff)
downloadpfsense-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.inc2
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)
OpenPOWER on IntegriCloud