Project

General

Profile

Bug #155

Space in hostname breaks dhcpd

Added by Chris Buechler over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP Server
Target version:
Start date:
11/15/2009
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

This is a regression from 1.2, where we must have stripped spaces.

Aug 3 23:32:56 dhcpd: Configuration file errors encountered -- exiting
Aug 3 23:32:56 dhcpd: Configuration file errors encountered -- exiting
Aug 3 23:32:56 dhcpd: ^ Aug 3 23:32:56 dhcpd: ^
Aug 3 23:32:56 dhcpd: option host-name Access Point;
Aug 3 23:32:56 dhcpd: option host-name Access Point;
Aug 3 23:32:56 dhcpd: /var/dhcpd/etc/dhcpd.conf line 84: semicolon expected.
Aug 3 23:32:56 dhcpd: /var/dhcpd/etc/dhcpd.conf line 84: semicolon expected.
Aug 3 23:32:56 dhcpd: ^ Aug 3 23:32:56 dhcpd: ^
Aug 3 23:32:56 dhcpd: option host-name Voipo ATA;
Aug 3 23:32:56 dhcpd: option host-name Voipo ATA;
Aug 3 23:32:56 dhcpd: /var/dhcpd/etc/dhcpd.conf line 29: semicolon expected.
Aug 3 23:32:56 dhcpd: /var/dhcpd/etc/dhcpd.conf line 29: semicolon expected.
Aug 3 23:32:56 dhcpd: For info, please visit ¤http://www.isc.org/sw/dhcp/
Aug 3 23:32:56 dhcpd: All rights reserved.
Aug 3 23:32:56 dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Aug 3 23:32:56 dhcpd: Internet Systems Consortium DHCP Server V3.0.5

(verified and moved from cvstrac # 1801)

Associated revisions

Revision ad30055f (diff)
Added by Ermal Luçi over 9 years ago

Resolves #155. Replace space characters with underscore ones.

History

#1 Updated by Ermal Luçi over 9 years ago

  • Status changed from New to Feedback

Patch commited.

#2 Updated by Ermal Luçi over 9 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 0 to 100

#3 Updated by Chris Buechler over 9 years ago

this works now, thanks!

Also available in: Atom PDF