summaryrefslogtreecommitdiffstats
path: root/bgp-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-09-09 20:28:42 +0000
committerTed Trask <ttrask01@yahoo.com>2008-09-09 20:28:42 +0000
commite986a42e901c866aa1eb8b4850495b7c336355a6 (patch)
treedb9e876d78e2720df401aef7301bec5bc57896da /bgp-model.lua
parent7ff51f8f8eeab042b973443bf635ae72ad7651eb (diff)
downloadacf-quagga-e986a42e901c866aa1eb8b4850495b7c336355a6.tar.bz2
acf-quagga-e986a42e901c866aa1eb8b4850495b7c336355a6.tar.xz
Minor clean-up of quaggav0.3.0
git-svn-id: svn://svn.alpinelinux.org/acf/quagga/trunk@1454 ab2d0c66-481e-0410-8bed-d214d4d58bed
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