diff options
author | Chris Buechler <cmb@pfsense.org> | 2012-11-19 13:28:00 -0800 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2012-11-19 13:28:00 -0800 |
commit | 2d3145989698d39195bc281f8ebab0314fc58cf4 (patch) | |
tree | 224e2bd22922ff235eb21860b931fda80e2b8889 | |
parent | 2004def59589e11675409bd3db2bd9df34ac864b (diff) | |
parent | d7a0c22a8c2f429f7b4a0ff006a00fcca1201f01 (diff) | |
download | pfsense-2d3145989698d39195bc281f8ebab0314fc58cf4.zip pfsense-2d3145989698d39195bc281f8ebab0314fc58cf4.tar.gz |
Merge pull request #244 from bcyrill/ovpn-alias
Fix: Use specified IP if available
-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 6351a12..8ec37ef 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -333,9 +333,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 |