diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index e26adb1455..172271da9e 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -394,7 +394,8 @@ function return_gateway_groups_array() { $dfltgwdown = true; } /* Keep a record of the last up gateway */ - if (empty($upgw) && (isset($gwsttng['monitor_disable']) || !stristr($gateways_status[$gwname]['status'], "down"))) + /* XXX: Blacklist lan for now since it might cause issues to those who have a gateway set for it */ + if (empty($upgw) && (isset($gwsttng['monitor_disable']) || !stristr($gateways_status[$gwname]['status'], "down")) && $gateways_status[$gwname]['friendlyiface'] != "lan") $upgw = $gwname; if ($dfltgwdown == true && !empty($upgw)) break;