diff options
author | Renato Botelho <renato@netgate.com> | 2016-01-12 10:05:15 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-12 10:05:15 -0200 |
commit | ddf82c16f325b0060ba27226737ce8d3a7f0da44 (patch) | |
tree | ba24e7096a644e46ac7d680a1252f9cbbb0471f8 /src/usr/local/www/vpn_l2tp.php | |
parent | 481315a275605874730ac1c6e71e4c1ad233d807 (diff) | |
download | pfsense-ddf82c16f325b0060ba27226737ce8d3a7f0da44.zip pfsense-ddf82c16f325b0060ba27226737ce8d3a7f0da44.tar.gz |
Fix syntax errors introduced on recent merged pull requests
Diffstat (limited to 'src/usr/local/www/vpn_l2tp.php')
-rw-r--r-- | src/usr/local/www/vpn_l2tp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_l2tp.php b/src/usr/local/www/vpn_l2tp.php index 4431a9a..12102ef 100644 --- a/src/usr/local/www/vpn_l2tp.php +++ b/src/usr/local/www/vpn_l2tp.php @@ -135,7 +135,7 @@ if ($_POST) { if (!$input_errors) { $_POST['remoteip'] = $pconfig['remoteip'] = gen_subnet($_POST['remoteip'], $_POST['l2tp_subnet']); - if (is_inrange_v4($_POST['localip'], $_POST['remoteip'], ip_after($_POST['remoteip'], $_POST['n_l2tp_units'] - 1)) { + if (is_inrange_v4($_POST['localip'], $_POST['remoteip'], ip_after($_POST['remoteip'], $_POST['n_l2tp_units'] - 1))) { $input_errors[] = gettext("The specified server address lies in the remote subnet."); } if ($_POST['localip'] == get_interface_ip("lan")) { |