From 49e5bb8efa0a2db008de718f02e52ef73e351bef Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 22 May 2005 00:07:12 +0000 Subject: Do not rules for static routed interfaces. Our behavior is different from m0n0wall and the user can create their own rules if they wish. Fixes Ticket #97 --- etc/inc/filter.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 325b217..ab604e2 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -870,7 +870,7 @@ function filter_nat_rules_generate() { $pptpdcfg['remoteip'] . "/" . $g['pptp_subnet'], null, "", null, null); } - /* static routes */ + /* static routes if (is_array($config['staticroutes']['route'])) { foreach ($config['staticroutes']['route'] as $route) { if ($route['interface'] != "wan") @@ -878,6 +878,7 @@ function filter_nat_rules_generate() { $route['network'], null, "", null, null); } } + */ } $natrules .= "#SSH Lockout Table\n"; -- cgit v1.1