diff options
author | bcyrill <cyrill@bannwart.info> | 2012-11-03 22:41:24 +0100 |
---|---|---|
committer | bcyrill <cyrill@bannwart.info> | 2012-11-03 22:41:24 +0100 |
commit | d7a0c22a8c2f429f7b4a0ff006a00fcca1201f01 (patch) | |
tree | 65d7d181ad16917cb210fb0b57fd827447b99ac5 /etc/inc/openvpn.inc | |
parent | 1e1e1ec8b1bf4c7bc0737c1caa82ff4f0a6a922e (diff) | |
download | pfsense-d7a0c22a8c2f429f7b4a0ff006a00fcca1201f01.zip pfsense-d7a0c22a8c2f429f7b4a0ff006a00fcca1201f01.tar.gz |
Fix: Use specified IP if available
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r-- | etc/inc/openvpn.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 687c7ce..3824b15 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -335,9 +335,8 @@ function openvpn_reconfigure($mode, $settings) { $cipher = $settings['crypto']; $interface = get_failover_interface($settings['interface']); - /* we will fill out these variables below. */ - // $ipaddr = $settings['ipaddr']; - // $ipaddrv6 = $settings['ipaddrv6']; + $ipaddr = $settings['ipaddr']; + $ipaddrv6 = $settings['ipaddrv6']; // If a specific ip address (VIP) is requested, use it. // Otherwise, if a specific interface is requested, use it |