summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2016-02-24 16:23:07 +0000
committerTed Trask <ttrask01@yahoo.com>2016-02-24 16:23:07 +0000
commit4242370f48756d5b241a34fc0d1fdb9b95c89dd0 (patch)
tree63a0ff9f34ac75e1600ddb70a700ac7125461a44
parent74c0c0b6f34ae11bfed6e0ded26b9c84bc74047b (diff)
downloadacf-awall-4242370f48756d5b241a34fc0d1fdb9b95c89dd0.tar.bz2
acf-awall-4242370f48756d5b241a34fc0d1fdb9b95c89dd0.tar.xz
Change ACF list to structure for accuracy
-rw-r--r--awall-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/awall-model.lua b/awall-model.lua
index 6c08673..7921468 100644
--- a/awall-model.lua
+++ b/awall-model.lua
@@ -143,7 +143,7 @@ function mymodule.list_policies()
table.sort(policies, function(a,b) return a.name < b.name end)
- return cfe({ type="list", value=policies, label="Policies", errtxt=errtxt })
+ return cfe({ type="structure", value=policies, label="Policies", errtxt=errtxt })
end
function mymodule.get_newpolicy()