summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-06 21:09:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-06 21:09:28 +0000
commit1b49cea0272135f8aa2041a07983869c8492f1b1 (patch)
tree0dc508a8b778f5b5c46ad610a34c27c07f0ec4b2 /etc
parentdb86e9096526ad28a19ffc7dbc844a350c346e68 (diff)
downloadpfsense-1b49cea0272135f8aa2041a07983869c8492f1b1.zip
pfsense-1b49cea0272135f8aa2041a07983869c8492f1b1.tar.gz
Move send host-name inside {}
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index fb9c8a3..9107116 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -514,8 +514,8 @@ function interfaces_opt_dhcp_configure($interface) {
if ($optcfg['dhcphostname']) {
$dhclientconf .= <<<EOD
- send dhcp-client-identifier "{$optcfg['dhcphostname']}";
interface "{$optcfg['if']}" {
+ send dhcp-client-identifier "{$optcfg['dhcphostname']}";
send host-name "{$optcfg['dhcphostname']}";
}
@@ -553,10 +553,11 @@ function interfaces_wan_dhcp_configure() {
if ($wancfg['dhcphostname']) {
$dhclientconf .= <<<EOD
- send dhcp-client-identifier "{$wancfg['dhcphostname']}";
interface "{$wancfg['if']}" {
+ send dhcp-client-identifier "{$wancfg['dhcphostname']}";
send host-name "{$wancfg['dhcphostname']}";
+
}
EOD;
OpenPOWER on IntegriCloud