summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate/luasrc/model
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-12-27 07:24:28 +0100
committerGitHub <noreply@github.com>2018-12-27 07:24:28 +0100
commitbe24925159f7eb87941562360de5e9728183e2b1 (patch)
treee893d31c2503e6a0fa46b36675ed37ab81df2b7d /applications/luci-app-travelmate/luasrc/model
parent0fb3bb61df8ca4cdda9d98c3c814000d6b106a35 (diff)
parenta6b19ce5e45dbf070a9092ed5c23a8d0dbd259cc (diff)
Merge pull request #2402 from dibdot/travelmate
luci-app-travelmate: adapt latest css changes
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/model')
-rw-r--r--applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
index e98cde719c..5792536ba1 100644
--- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
+++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
@@ -76,7 +76,8 @@ if dump then
local i, v
for i, v in ipairs(dump.interface) do
if v.interface ~= "loopback" and v.interface ~= "lan" then
- o4:value(v.interface)
+ local device = v.l3_device or v.device or "-"
+ o4:value(v.interface, v.interface.. " (" ..device.. ")")
end
end
end