From 38bdc48def49d9edc617baebd243e03c71c79496 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 19 Jan 2011 18:56:47 +0000 Subject: This logic was reversed fix it. Reported-by: Seth --- etc/inc/system.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/system.inc b/etc/inc/system.inc index ef5e2bc..a80cf88 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -392,7 +392,7 @@ function system_routing_configure($interface = "") { continue; } $gateway = $gateways_arr[$rtent['gateway']]; - if ($interface == $gateway['friendlyiface']) + if ($interface != $gateway['friendlyiface']) continue; $gatewayip = $gateway['gateway']; $interfacegw = $gateway['interface']; -- cgit v1.1