diff options
author | doktornotor <notordoktor@gmail.com> | 2015-09-17 15:12:14 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-09-17 15:12:14 +0200 |
commit | 356ec7879163aa6d3b488024c130e78ac7b77b82 (patch) | |
tree | 61e1ec886f672262d67d43169cbc5cc924360e8d /src/etc/inc/openvpn.auth-user.php | |
parent | ee8f9940b73d8066de9f28355e72357816817d84 (diff) | |
download | pfsense-356ec7879163aa6d3b488024c130e78ac7b77b82.zip pfsense-356ec7879163aa6d3b488024c130e78ac7b77b82.tar.gz |
Make the openvpn-server IP address consistent with CSC overrides behavior
Diffstat (limited to 'src/etc/inc/openvpn.auth-user.php')
-rw-r--r-- | src/etc/inc/openvpn.auth-user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/openvpn.auth-user.php b/src/etc/inc/openvpn.auth-user.php index e3ce828..0f6864b 100644 --- a/src/etc/inc/openvpn.auth-user.php +++ b/src/etc/inc/openvpn.auth-user.php @@ -191,7 +191,7 @@ if (isset($attributes['framed_ip'])) { $content .= "ifconfig-push {$attributes['framed_ip']} {$attributes['framed_mask']}"; } else { $content .= "topology net30\n"; - $content .= "ifconfig-push {$attributes['framed_ip']} ". long2ip((ip2long($attributes['framed_ip']) + 1)); + $content .= "ifconfig-push {$attributes['framed_ip']} ". long2ip((ip2long($attributes['framed_ip']) - 1)); } } |