From dbdc3e5e4d82f4afb56bd90047182ecbb1fdd170 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 24 Feb 2016 16:23:49 +0000 Subject: Change ACF list to structure for accuracy --- ipsectools-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipsectools-model.lua b/ipsectools-model.lua index e3e7c99..cab37ec 100644 --- a/ipsectools-model.lua +++ b/ipsectools-model.lua @@ -124,7 +124,7 @@ end function mymodule.getstatusdetails() local status = {} - status.show_isakmp = cfe({ type="list", value=racoonctl_table(), label="Tunnels" }) + status.show_isakmp = cfe({ type="structure", value=racoonctl_table(), label="Tunnels" }) status.ip_xfrm_policy = cfe({ type="longtext", label="ip xfrm policy" }) status.ip_xfrm_policy.value, status.ip_xfrm_policy.errtxt = modelfunctions.run_executable({"ip", "xfrm", "policy"}) -- cgit v1.2.3