summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-05-29 18:31:11 +0000
committerErmal Luçi <eri@pfsense.org>2009-05-29 18:31:11 +0000
commitf91bc86fd9644d51223b8ff125b10a54c9a6a754 (patch)
tree2ebe41d2c57ba983bd6d46bf2dc46398007f721a /etc/inc
parentc432da9cacf59dfdfcd46c2136a5f2e8ee5975c5 (diff)
downloadpfsense-f91bc86fd9644d51223b8ff125b10a54c9a6a754.zip
pfsense-f91bc86fd9644d51223b8ff125b10a54c9a6a754.tar.gz
Fix still the address extraction.
Diffstat (limited to 'etc/inc')
-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 0efc70a..7445b71 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1074,7 +1074,7 @@ function filter_generate_address(& $rule, $target = "source")
$src = "any";
} else if ($rule[$target]['network']) {
if (strstr($rule[$target]['network'], "opt")) {
- $src = $FilterIflist[$rule[$target][$target]]['sa'] . "/" .
+ $src = $FilterIflist[$rule[$target]['network']]['sa'] . "/" .
$FilterIflist[$rule[$target]['network']]['sn'];
if (isset($rule[$target]['not'])) $src = " !{$src}";
/* check for opt$NUMip here */
OpenPOWER on IntegriCloud