diff options
author | smos <seth.mos@dds.nl> | 2011-11-22 20:12:36 +0100 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2011-11-22 20:14:44 +0100 |
commit | af6f42c11cff923970dd1f5429d74f929b3c10ff (patch) | |
tree | e53bfed67d7a485eed30c8a5c25d501bd4a71c37 /etc/inc | |
parent | f64532e5cb1a0f39c2ab84252754f5dd5967db3d (diff) | |
download | pfsense-af6f42c11cff923970dd1f5429d74f929b3c10ff.zip pfsense-af6f42c11cff923970dd1f5429d74f929b3c10ff.tar.gz |
Ecnlose the host-name in quotes so that numerical values work.
Fixes ticket #2020
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/services.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index a6a99a2..5bcd756 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -364,7 +364,7 @@ EOD; if ($sm['hostname']) { $dhhostname = str_replace(" ", "_", $sm['hostname']); $dhhostname = str_replace(".", "_", $dhhostname); - $dhcpdconf .= " option host-name {$dhhostname};\n"; + $dhcpdconf .= " option host-name \"{$dhhostname}\";\n"; } if ($sm['netbootfile']) $dhcpdconf .= " filename \"{$sm['netbootfile']}\";\n"; |