diff options
author | Renato Botelho <renato@netgate.com> | 2016-01-27 14:35:18 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-27 14:35:18 -0200 |
commit | f09d4db4b8827a882a1ad4ef540a39a83ec9e868 (patch) | |
tree | 18ba8f8d93c92c046c1f8450f51acad3826d12ed /src | |
parent | acd5b0d4eef01b01d164335ca6f4ab831c99d6f6 (diff) | |
download | pfsense-f09d4db4b8827a882a1ad4ef540a39a83ec9e868.zip pfsense-f09d4db4b8827a882a1ad4ef540a39a83ec9e868.tar.gz |
Select an interface to track is mandatory
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/interfaces.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 8702bb5..01f6f95 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -669,6 +669,10 @@ if ($_POST['apply']) { $input_errors[] = sprintf(gettext("You have to reassign the interface to be able to configure as %s."), $_POST['type6']); } + if (empty($_POST['track6-interface'])) { + $input_errors[] = gettext("You have to select a valid interface to track."); + } + if ($_POST['track6-prefix-id--hex'] != "" && !is_numeric("0x" . $_POST['track6-prefix-id--hex'])) { $input_errors[] = gettext("You must enter a valid hexadecimal number for the IPv6 prefix ID."); } else { |