summaryrefslogtreecommitdiffstats
path: root/dhcp-editspc-html.lsp
diff options
context:
space:
mode:
authorAndreas Brodmann <andreas.brodmann@gmail.com>2007-11-20 12:43:05 +0000
committerAndreas Brodmann <andreas.brodmann@gmail.com>2007-11-20 12:43:05 +0000
commitbde1ff5a701b6e48d9e692a26a1dc08e019c53e3 (patch)
tree6520a861d138eabd9e0a4574e1badd852cb2f021 /dhcp-editspc-html.lsp
parent59d27c84fd89e3b80079411e71c2198ecf4ff46f (diff)
downloadacf-dhcp-bde1ff5a701b6e48d9e692a26a1dc08e019c53e3.tar.bz2
acf-dhcp-bde1ff5a701b6e48d9e692a26a1dc08e019c53e3.tar.xz
1) Modified the generation process
2) Moved dynamic host configuration from the subnet scope to global. Reason: in isc-dhcp host declarations are always global. git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@344 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'dhcp-editspc-html.lsp')
-rw-r--r--dhcp-editspc-html.lsp9
1 files changed, 7 insertions, 2 deletions
diff --git a/dhcp-editspc-html.lsp b/dhcp-editspc-html.lsp
index 8a06c9c..922fe24 100644
--- a/dhcp-editspc-html.lsp
+++ b/dhcp-editspc-html.lsp
@@ -4,13 +4,18 @@
local errcode = form.errcode
?>
<h1>DHCPd - Advanced Global Configuration</h1>
-These fields are copied into the final dhcpd.conf on configuration generation without any validation check. So only
-use them if you extactly know what you are doing here.
<form name="myform" action="<? io.write(option.script .. option.prefix ..
option.controller .. "/" .. option.action .. option.extra) ?>" method="POST">
+<pre style="color: #ff2020;"><? io.write( form.errcode.msg ) ?></pre>
+
+<h2>DHCPd - Dynamic Hosts</h2>
+<table><tr><td><textarea name="dynamic" style="width:600px"><? io.write( form.value.dynamic ) ?></textarea></td></tr></table>
+
<h2>DHCPd - Pre Main Configuration</h2>
+These fields below are copied into the final dhcpd.conf on configuration generation without any validation check. Do not use
+them unless you know what you are doing.
<table><tr><td><textarea name="preconfig" style="width:600px"><? io.write(form.value.preconfig) ?></textarea></td></tr></table>
<h2>DHCPd - Post Main Configuration</h2>