local routes = ffluci.sys.net.routes()
-- UGLY hack is UGLY
-local be = (routes[1] and routes[1].Mask:sub(-2) == "00")
+if routes[1] and routes[1].Gateway:sub(-2) == "00" then
+ local be = true
+else
+ local be = false
+end
for i, r in pairs(routes) do
%>