From 214630ed7bfe9dc72859643f987645d3e4cf32c1 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Fri, 23 Oct 2009 00:34:06 +0200 Subject: Correctly fix the function so that the table expands again. Whoever rewrote this must have been sleep deprived or really lost. --- etc/inc/filter.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- cgit v1.1