mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Make the openvpn-server IP address consistent with CSC overrides behavior
This commit is contained in:
parent
4919a84245
commit
62e5ef299d
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user