diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-12-10 12:08:16 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-12-10 12:08:16 -0200 |
commit | aebf41dfa424604315e42bf0cc3ca545760989ea (patch) | |
tree | aa8099e06f59dd1c8a20d7905a6d5442bfc936e2 /etc/inc/vpn.inc | |
parent | bed4017e7f073ed4101cf7728909b13d38e047b7 (diff) | |
download | pfsense-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/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 3 |
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} |