summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2012-11-19 13:28:00 -0800
committerChris Buechler <cmb@pfsense.org>2012-11-19 13:28:00 -0800
commit2d3145989698d39195bc281f8ebab0314fc58cf4 (patch)
tree224e2bd22922ff235eb21860b931fda80e2b8889
parent2004def59589e11675409bd3db2bd9df34ac864b (diff)
parentd7a0c22a8c2f429f7b4a0ff006a00fcca1201f01 (diff)
downloadpfsense-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.inc5
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
OpenPOWER on IntegriCloud