summaryrefslogtreecommitdiffstats
path: root/dnsmasq-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-12-08 16:18:55 +0000
committerTed Trask <ttrask01@yahoo.com>2008-12-08 16:18:55 +0000
commit76b0d74e7bf922b06749927eaca7dafbdd19f8d3 (patch)
tree4731acf35452b028866f4acaa34436cf8d28cb4e /dnsmasq-controller.lua
parent5d3d65491dac81bf96d63e0fd8a5db25e4e5187c (diff)
downloadacf-dnsmasq-76b0d74e7bf922b06749927eaca7dafbdd19f8d3.tar.bz2
acf-dnsmasq-76b0d74e7bf922b06749927eaca7dafbdd19f8d3.tar.xz
Modified dnsmasq to add viewleases and logfile.
git-svn-id: svn://svn.alpinelinux.org/acf/dnsmasq/trunk@1627 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'dnsmasq-controller.lua')
-rw-r--r--dnsmasq-controller.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/dnsmasq-controller.lua b/dnsmasq-controller.lua
index c2b2e7e..c2eaa5d 100644
--- a/dnsmasq-controller.lua
+++ b/dnsmasq-controller.lua
@@ -21,3 +21,7 @@ function expert(self)
return controllerfunctions.handle_form(self, self.model.getconfigfile, self.model.setconfigfile, self.clientdata, "Save", "Edit Config File", "Configuration File Set")
end
+function viewleases(self)
+ return self.model.getleases()
+end
+