diff options
author | Scott Ullrich <sulrich@pfsense.org> | 2010-03-16 13:39:31 -0400 |
---|---|---|
committer | Scott Ullrich <sulrich@pfsense.org> | 2010-03-16 13:39:31 -0400 |
commit | 66534ba5b44e8008278f1581694c2a45b6d7f041 (patch) | |
tree | 664d1ba8adb5542fed81190b5bda8e0ea638f7bf | |
parent | 1bda7d813bf3325f4c5c64b23b4ee478beeed18d (diff) | |
download | pfsense-66534ba5b44e8008278f1581694c2a45b6d7f041.zip pfsense-66534ba5b44e8008278f1581694c2a45b6d7f041.tar.gz |
Include DHCP hostname. Ticket #427
-rw-r--r-- | etc/inc/services.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 1813860..d014b13 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -298,6 +298,9 @@ EOD; if ($sm['ipaddr']) $dhcpdconf .= " fixed-address {$sm['ipaddr']};\n"; + if ($sm['hostname']) + $dhcpdconf .= " option host-name {$sm['hostname']};\n"; + $dhcpdconf .= "}\n"; $i++; } |