Project

General

Profile

Actions

Bug #452

closed

DHCP Hostname can't use periods

Added by Koaps Freeman over 14 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP (IPv4)
Target version:
Start date:
03/25/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

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

Actions

Also available in: Atom PDF