diff options
author | Phil Davis <phil.davis@inf.org> | 2015-07-13 00:28:04 +0545 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-07-15 10:30:09 -0300 |
commit | e3a5f4876f5fa2208746b6ace3b1b5f0a64be255 (patch) | |
tree | 700b2f8ddeeb50ddad608d9b5c9c09a568bde8b0 /usr/local/www | |
parent | 0d9fe84b0929747cc35d755edac7ce2f58a2ac49 (diff) | |
download | pfsense-e3a5f4876f5fa2208746b6ace3b1b5f0a64be255.zip pfsense-e3a5f4876f5fa2208746b6ace3b1b5f0a64be255.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.
Diffstat (limited to 'usr/local/www')
-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 b360f17..83ea185 100644 --- a/usr/local/www/interfaces_gre_edit.php +++ b/usr/local/www/interfaces_gre_edit.php @@ -73,8 +73,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); |