summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-05-14 12:27:42 -0400
committerjim-p <jimp@pfsense.org>2012-05-14 12:27:42 -0400
commite052047dd8145b336755206b728e61f28d7a544b (patch)
treebc6e05e041623634621b5180caa5b83766030ad5 /etc
parentd9c96fb1edad9c437019b813818fbb6fcd723cbb (diff)
downloadpfsense-e052047dd8145b336755206b728e61f28d7a544b.zip
pfsense-e052047dd8145b336755206b728e61f28d7a544b.tar.gz
Whoops, don't flip these since I negated the test.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/openvpn.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index b0a41dc..af7d921 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -742,9 +742,9 @@ function openvpn_resync_csc(& $settings) {
$clientip = long2ip32($baselong + 2);
/* Because this is being pushed, the order from the client's point of view. */
if ($settings['dev_mode'] != 'tap')
- $conf .= "ifconfig-push {$clientip} {$mask}\n";
- else
$conf .= "ifconfig-push {$clientip} {$serverip}\n";
+ else
+ $conf .= "ifconfig-push {$clientip} {$mask}\n";
}
openvpn_add_dhcpopts($settings, $conf);
OpenPOWER on IntegriCloud