summaryrefslogtreecommitdiffstats
path: root/openvpn-logfile-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn-logfile-html.lsp')
-rw-r--r--openvpn-logfile-html.lsp6
1 files changed, 5 insertions, 1 deletions
diff --git a/openvpn-logfile-html.lsp b/openvpn-logfile-html.lsp
index 16c583a..edb3867 100644
--- a/openvpn-logfile-html.lsp
+++ b/openvpn-logfile-html.lsp
@@ -2,5 +2,9 @@
%>
<% if viewlibrary and viewlibrary.dispatch_component then
- viewlibrary.dispatch_component("alpine-baselayout/logfiles/view", {filename=data.value})
+ local clientdata = {}
+ for n,v in pairs(data.value) do
+ clientdata[n] = v.value
+ end
+ viewlibrary.dispatch_component("alpine-baselayout/logfiles/view", clientdata)
end %>