diff options
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources/protocol/dhcp.js')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/protocol/dhcp.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/protocol/dhcp.js b/modules/luci-base/htdocs/luci-static/resources/protocol/dhcp.js index efdb818c4..28f06ecb8 100644 --- a/modules/luci-base/htdocs/luci-static/resources/protocol/dhcp.js +++ b/modules/luci-base/htdocs/luci-static/resources/protocol/dhcp.js @@ -20,6 +20,9 @@ return network.registerProtocol('dhcp', { var dev = this.getL2Device() || this.getDevice(), o; o = s.taboption('general', form.Value, 'hostname', _('Hostname to send when requesting DHCP')); + o.default = ''; + o.value('', 'Send the hostname of this device'); + o.value('*', 'Do not send a hostname'); o.datatype = 'or(hostname, "*")'; o.load = function(section_id) { return callFileRead('/proc/sys/kernel/hostname').then(L.bind(function(hostname) { |