summaryrefslogtreecommitdiffstats
path: root/bgp-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bgp-model.lua')
-rw-r--r--bgp-model.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/bgp-model.lua b/bgp-model.lua
index c1426f9..07c5b24 100644
--- a/bgp-model.lua
+++ b/bgp-model.lua
@@ -57,11 +57,8 @@ end
function getdetails()
local status = {}
- status.showipbgp = cfe({
- name="showipbgp",
- label="BGP routes",
- })
+ status.showipbgp = cfe({ label="BGP routes" })
status.showipbgp.value,status.showipbgp.errtxt = telnetshowipbgp()
- return status
+ return cfe({ type="group", value=status, label="BGP Details" })
end