mirror of https://github.com/aredn/aredn.git
Dont let services uses hostname which are not propagated.
OLSR doesnt allow this.
This commit is contained in:
parent
25adaa07cb
commit
5657bfcdf8
|
@ -1187,7 +1187,9 @@ function print_services()
|
|||
end
|
||||
for i = 1,parms.dhcp_num
|
||||
do
|
||||
html.print("<option " .. (parms["dhcp" .. i .. "_host"] == _host and "selected" or "") .. " value='" .. parms["dhcp" .. i .. "_host"] .. "'>" .. parms["dhcp" .. i .. "_host"] .. "</option>")
|
||||
if parms["dhcp" .. i .. "_noprop"] ~= "#NOPROP" then
|
||||
html.print("<option " .. (parms["dhcp" .. i .. "_host"] == _host and "selected" or "") .. " value='" .. parms["dhcp" .. i .. "_host"] .. "'>" .. parms["dhcp" .. i .. "_host"] .. "</option>")
|
||||
end
|
||||
end
|
||||
html.print("</select>")
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue