summaryrefslogtreecommitdiffstats
path: root/snort-expert-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-02-01 18:40:55 +0000
committerMika Havela <mika.havela@gmail.com>2008-02-01 18:40:55 +0000
commit416387699c33283fa63fda4716b719b8fbe3275a (patch)
tree70b5c098dcbe2500180eca5793ef0a49389a31eb /snort-expert-html.lsp
parent5ebe237d50761f838463daf3134540964c6a3683 (diff)
downloadacf-snort-416387699c33283fa63fda4716b719b8fbe3275a.tar.bz2
acf-snort-416387699c33283fa63fda4716b719b8fbe3275a.tar.xz
Fixed start/stop/restart so it works again (earlier modifications to lib/daemoncontrol.lua)
git-svn-id: svn://svn.alpinelinux.org/acf/snort/trunk@685 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'snort-expert-html.lsp')
-rw-r--r--snort-expert-html.lsp17
1 files changed, 12 insertions, 5 deletions
diff --git a/snort-expert-html.lsp b/snort-expert-html.lsp
index 9de9b0f..ab2ee56 100644
--- a/snort-expert-html.lsp
+++ b/snort-expert-html.lsp
@@ -1,5 +1,11 @@
<? local view = ... ?>
-
+<?
+--[[ DEBUG INFORMATION
+io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
+io.write(html.cfe_unpack(view))
+io.write("</span>")
+--]]
+?>
<h1>SYSTEM INFO</h1>
<dl>
@@ -57,17 +63,18 @@
</form></dd>
</dl>
-<? if (view.startstop) and (view.startstop.cmdresult) then ?>
+<? if (view.startstop) then ?>
<dl>
<dt>Previous action result</dt>
-<dd><pre><?= view.startstop.cmdresult?></pre></dd>
+<dd><pre><?= view.startstop?></pre></dd>
</dl>
<? end ?>
<?
--[[ DEBUG INFORMATION
-require("debugs")
-io.write(debugs.variables(view))
+io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
+io.write(html.cfe_unpack(form))
+io.write("</span>")
--]]
?>