diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-10-23 00:34:06 +0200 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-10-23 00:34:06 +0200 |
commit | 214630ed7bfe9dc72859643f987645d3e4cf32c1 (patch) | |
tree | 43120a1c3b95d5a018ad01b8bc9aad65293e6828 | |
parent | da82a94a7d2df2ae143ac1d2aa9d3a0bbba14d85 (diff) | |
download | pfsense-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.inc | 3 |
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; } } |