From bd6a55858f0dd382aa7126a2fb6a8eaa11034292 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 10 Dec 2005 03:58:36 +0000 Subject: Reverse $range_end and $extport[0] --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index d06a522..9a6a268 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -696,7 +696,7 @@ function filter_nat_rules_generate() { $range_end++; - if($extport[0] - $range_end > 500) { + if($range_end - $extport[0] > 500) { $range_end = $extport[0]+1; log_error("Not installing nat reflection rules for a port range > 500"); } else { -- cgit v1.1