Dont let services uses hostname which are not propagated.

OLSR doesnt allow this.
This commit is contained in:
Tim Wilkinson 2023-03-24 17:22:59 -07:00 committed by Joe AE6XE
parent 25adaa07cb
commit 5657bfcdf8
1 changed files with 3 additions and 1 deletions

View File

@ -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