aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_passlist_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-07-15 13:42:22 -0300
committerRenato Botelho <renato@netgate.com>2015-07-15 13:42:22 -0300
commit2a323a0e26f769ad71ca75763fe88812d24c1acf (patch)
treef1f76faf0d824439bb88642b0d9e81ddbb2460a0 /config/snort/snort_passlist_edit.php
parentd80e45e5c937c8b7c2571da35c5beab17b667f6d (diff)
parent4106c494cdc49668e23a4bae378edc69521468bb (diff)
downloadpfsense-packages-2a323a0e26f769ad71ca75763fe88812d24c1acf.tar.gz
pfsense-packages-2a323a0e26f769ad71ca75763fe88812d24c1acf.tar.bz2
pfsense-packages-2a323a0e26f769ad71ca75763fe88812d24c1acf.zip
Merge pull request #900 from bmeeks8/snort-3.2.6
Diffstat (limited to 'config/snort/snort_passlist_edit.php')
-rw-r--r--config/snort/snort_passlist_edit.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/snort/snort_passlist_edit.php b/config/snort/snort_passlist_edit.php
index 9f95adb4..75724344 100644
--- a/config/snort/snort_passlist_edit.php
+++ b/config/snort/snort_passlist_edit.php
@@ -155,9 +155,12 @@ if ($_POST['save']) {
}
}
- if ($_POST['address'])
+ if ($_POST['address']) {
if (!is_alias($_POST['address']))
- $input_errors[] = gettext("A valid alias must be provided");
+ $input_errors[] = gettext("A valid alias must be provided.");
+ if (is_alias($_POST['address']) && trim(filter_expand_alias($_POST['address'])) == "")
+ $input_errors[] = gettext("FQDN aliases are not supported in Snort.");
+ }
if (!$input_errors) {
$p_list = array();