From 5164d55091ea4af25c86bbd95bfcddb375e1f1b5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 13 Sep 2012 08:50:59 +0000 Subject: [PATCH] libs/core: remove route enabled check in network model after netifd update in OpenWrt trunk --- libs/core/luasrc/model/network.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/luasrc/model/network.lua b/libs/core/luasrc/model/network.lua index 607276f3c8..c2c2e66b0a 100644 --- a/libs/core/luasrc/model/network.lua +++ b/libs/core/luasrc/model/network.lua @@ -594,7 +594,7 @@ function get_status_by_route(self, addr, mask) if s and s.route then local rt for _, rt in ipairs(s.route) do - if rt.enabled and rt.target == addr and rt.mask == mask then + if rt.target == addr and rt.mask == mask then return net, s end end -- 2.30.2