summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index a1c74cc..e6b27d5 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1070,7 +1070,7 @@ function filter_generate_reflection($rule, $nordr, $rdr_ifs, $srcaddr, $dstaddr_
$socktype = "stream";
$dash_u = "";
}
- $target = explode(" ", $target);
+ $target = explode(" ", trim($target));
foreach ($target as $targip) {
if (empty($targip))
continue;
OpenPOWER on IntegriCloud