diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-31 00:46:55 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-31 00:46:55 +0000 |
commit | 5ed67aadad7533ec61e44a28a536a564783c92ec (patch) | |
tree | a76431c685ec02fc7e1f163a1e0f9643400d5472 /etc | |
parent | 0f21fffd685d9cb165793ad4ac904744738aab85 (diff) | |
download | pfsense-5ed67aadad7533ec61e44a28a536a564783c92ec.zip pfsense-5ed67aadad7533ec61e44a28a536a564783c92ec.tar.gz |
Override correct wan ip address for vpn failover.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 6df1daf..700d847 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -65,6 +65,8 @@ function vpn_ipsec_configure($ipchg = false) { } $curwanip = get_current_wan_address(); + if($config['ipsec']['ip'] <> "") + $curwanip = $config['ipsec']['ip']; $syscfg = $config['system']; $ipseccfg = $config['ipsec']; |