diff options
author | Phil Davis <phil.davis@inf.org> | 2015-07-13 00:28:04 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-07-13 00:28:04 +0545 |
commit | 2f0e31b1aac508c9c62ff03c89b1bb5ed1bf30db (patch) | |
tree | 022cff93e965efa6850a6691d6b5a959e02030b4 | |
parent | fd29caa1c8bc3aa547c50e4842aecd7314cc8d89 (diff) | |
download | pfsense-2f0e31b1aac508c9c62ff03c89b1bb5ed1bf30db.zip pfsense-2f0e31b1aac508c9c62ff03c89b1bb5ed1bf30db.tar.gz |
Interfaces GRE Edit fix required fields text
The reqdfields had only 4 entries but reqdfieldsn has 5 entries and the field names to text descriptions did not match up.
Fixed it.
-rw-r--r-- | usr/local/www/interfaces_gre_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_gre_edit.php b/usr/local/www/interfaces_gre_edit.php index 474e57b..893db55 100644 --- a/usr/local/www/interfaces_gre_edit.php +++ b/usr/local/www/interfaces_gre_edit.php @@ -76,8 +76,8 @@ if ($_POST) { $pconfig = $_POST; /* input validation */ - $reqdfields = explode(" ", "if tunnel-remote-addr tunnel-remote-net tunnel-local-addr"); - $reqdfieldsn = array(gettext("Parent interface"), gettext("Local address"), gettext("Remote tunnel address"), gettext("Remote tunnel network"), gettext("Local tunnel address")); + $reqdfields = explode(" ", "if remote-addr tunnel-local-addr tunnel-remote-addr tunnel-remote-net"); + $reqdfieldsn = array(gettext("Parent interface"), gettext("Remote tunnel endpoint IP address"), gettext("Local tunnel IP address"), gettext("Remote tunnel IP address"), gettext("Remote tunnel network")); do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); |