summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/filter.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 23bce61..ee8fa1e 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -796,7 +796,7 @@ function filter_generate_gateways() {
$route = "";
if (!is_ipaddr($gwip))
$gwip = get_interface_gateway($gateway['friendlyiface']);
- if (is_ipaddr($gwip) && !empty($int))
+ if (is_ipaddr($gwip) && !empty($int) && !isset($gateway['force_down']))
$route = "route-to ( {$int} {$gwip} )";
if (($route === "") && isset($config['system']['skip_rules_gw_down']))
unset($GatewaysList[$gwname]);
OpenPOWER on IntegriCloud