Bug #452
closedDHCP Hostname can't use periods
0%
Description
I wasn't sure if I should update my previous bug(Bug #427) or add a new one. Since you guys committed the changes to 1.2 and say it's in 2.0 and I just run into this issue, I figured I would file a new bug.
I tried to use a hostname in a static DHCP lease with a period in it and DHCP fails to start with a syntax error.
Mar 25 13:03:22 dhcpd: /var/dhcpd/etc/dhcpd.conf line 43: semicolon expected.
Mar 25 13:03:22 dhcpd: /var/dhcpd/etc/dhcpd.conf line 43: semicolon expected.
Mar 25 13:03:22 dhcpd: option host-name host.
Mar 25 13:03:22 dhcpd: option host-name host.
Mar 25 13:03:22 dhcpd: ^
Mar 25 13:03:22 dhcpd: ^
Mar 25 13:03:22 dhcpd: Configuration file errors encountered -- exiting
Mar 25 13:03:22 dhcpd: Configuration file errors encountered -- exiting
This might be something that needs to be caught by the portal or I need to try qouting the hostname to prevent the issue.
When I get sometime I will test some changes unless you guys know the fix.
-c