summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-10-23 00:34:06 +0200
committerSeth Mos <seth.mos@xs4all.nl>2009-10-23 00:34:06 +0200
commit214630ed7bfe9dc72859643f987645d3e4cf32c1 (patch)
tree43120a1c3b95d5a018ad01b8bc9aad65293e6828
parentda82a94a7d2df2ae143ac1d2aa9d3a0bbba14d85 (diff)
downloadpfsense-214630ed7bfe9dc72859643f987645d3e4cf32c1.zip
pfsense-214630ed7bfe9dc72859643f987645d3e4cf32c1.tar.gz
Correctly fix the function so that the table expands again.
Whoever rewrote this must have been sleep deprived or really lost.
-rw-r--r--etc/inc/filter.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 767d6f1..d0ca675 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -494,7 +494,8 @@ function filter_get_direct_networks_list() {
filter_generate_optcfg_array();
}
foreach ($FilterIflist as $ifent => $ifcfg) {
- if(is_subnet($ifcfg['sa'])) {
+ $subnet = "{$ifcfg['sa']}/{$ifcfg['sn']}";
+ if(is_subnet($subnet)) {
$networks_arr[] = $subnet;
}
}
OpenPOWER on IntegriCloud