summaryrefslogtreecommitdiffstats
path: root/health-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-03-10 15:38:11 +0000
committerTed Trask <ttrask01@yahoo.com>2010-03-10 15:38:11 +0000
commite742c7f03085ccb24993360d534d54a2f4110f16 (patch)
tree8fcd628d7ab1203398a7e1822e354bd0d3bd2a9e /health-model.lua
parent01acf92e551a75dd2122df6e27b57dc94d393fa8 (diff)
downloadacf-alpine-baselayout-e742c7f03085ccb24993360d534d54a2f4110f16.tar.bz2
acf-alpine-baselayout-e742c7f03085ccb24993360d534d54a2f4110f16.tar.xz
Added 'ip tunnel' result to health network status.
Diffstat (limited to 'health-model.lua')
-rw-r--r--health-model.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/health-model.lua b/health-model.lua
index 0389346..f5c0ee1 100644
--- a/health-model.lua
+++ b/health-model.lua
@@ -90,6 +90,7 @@ get_network = function (self)
local network = {}
network.interfaces = cfe({ value=querycmd("ip addr"), label="Interfaces" })
network.routes = cfe({ value=querycmd("ip route"), label="Routes" })
+ network.tunnel = cfe({ value=querycmd("ip tunnel"), label="Tunnels" })
return cfe({ type="group", value=network })
end