diff options
Diffstat (limited to 'usr/local/www/vpn_pptp.php')
-rwxr-xr-x | usr/local/www/vpn_pptp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php index 0ffff02..036a1c6 100755 --- a/usr/local/www/vpn_pptp.php +++ b/usr/local/www/vpn_pptp.php @@ -105,7 +105,7 @@ if ($_POST) { (ip2long($_POST['localip']) <= $subnet_end)) { $input_errors[] = "The specified server address lies in the remote subnet."; } - if ($_POST['localip'] == $config['interfaces']['lan']['ipaddr']) { + if ($_POST['localip'] == get_interface_ip("lan")) { $input_errors[] = "The specified server address is equal to the LAN interface address."; } } |