summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-10 22:40:03 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-10 22:40:03 +0000
commit912387e125df9c76e54079c60cffcca3abe46b3f (patch)
tree9b48a2d01fdce063f2d74be8a7e6ad0cd022bd5a /etc
parent950d21d0096344600c41e121e935f055dc24104a (diff)
downloadpfsense-912387e125df9c76e54079c60cffcca3abe46b3f.zip
pfsense-912387e125df9c76e54079c60cffcca3abe46b3f.tar.gz
Correct block return option
Submitted-by: pscott
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 668f158..3f87f6b 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1288,6 +1288,8 @@ function generate_user_filter_rule($rule, $ngcounter) {
$line = "block return-rst";
} else if ($rule['protocol'] == "udp") {
$line = "block return-icmp";
+ } else if ($rule['protocol'] == "tcp/udp") {
+ $line = "block return";
} else {
$line = "block";
}
@@ -2320,4 +2322,4 @@ function return_vpn_subnet($adr) {
return " # error - {$adr['network']} ";
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud