summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/core/luasrc/model/network.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/model/network.lua b/libs/core/luasrc/model/network.lua
index 607276f3c..c2c2e66b0 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