diff options
author | doktornotor <notordoktor@gmail.com> | 2015-09-17 15:17:31 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-09-17 15:17:31 +0200 |
commit | 62e5ef299d773c306aa280da4274a530e9cbc5ed (patch) | |
tree | 1671a200e848f96649b77e21fcfb8377c0125099 | |
parent | 4919a842459ef826876fe872812ee43ecef1012b (diff) | |
download | pfsense-62e5ef299d773c306aa280da4274a530e9cbc5ed.zip pfsense-62e5ef299d773c306aa280da4274a530e9cbc5ed.tar.gz |
Make the openvpn-server IP address consistent with CSC overrides behavior
-rw-r--r-- | etc/inc/openvpn.auth-user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.auth-user.php b/etc/inc/openvpn.auth-user.php index 1b8737f..b753f71 100644 --- a/etc/inc/openvpn.auth-user.php +++ b/etc/inc/openvpn.auth-user.php @@ -186,7 +186,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)); } } |