summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-12-10 12:08:16 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-12-10 12:08:16 -0200
commitaebf41dfa424604315e42bf0cc3ca545760989ea (patch)
treeaa8099e06f59dd1c8a20d7905a6d5442bfc936e2 /etc
parentbed4017e7f073ed4101cf7728909b13d38e047b7 (diff)
downloadpfsense-aebf41dfa424604315e42bf0cc3ca545760989ea.zip
pfsense-aebf41dfa424604315e42bf0cc3ca545760989ea.tar.gz
Use current racoon.conf syntax to avoid issues when deprecated one is removed, it fixes #3338
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 4c12f30..3dc4a4a 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -613,9 +613,10 @@ function vpn_ipsec_configure($ipchg = false)
$racoonconf .=<<<EOD
-remote {$rgip}
+remote "{$rgip}"
{
ph1id {$ikeid};
+ remote_address {$rgip};
exchange_mode {$ph1ent['mode']};
my_identifier {$myid_type} {$myid_data};
{$peerid_spec}
OpenPOWER on IntegriCloud