Skip to content

Commit

Permalink
made datatype take nodeid hash into consideration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Seamus Tuohy committed Mar 7, 2014
1 parent 61b3fdb commit 2971846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luasrc/model/cbi/commotion/basic_ns.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ shn.addremove = false

--Create a value field for hostname
local hname = shn:option(Value, "hostname", translate("Node Name"), translate("The node name (hostname) is a unique name for this device, visible to other devices and users on the network. Name this device in the field provided."))
hname.datatype = "rangelength(1, 63)"
hname.datatype = "rangelength(1, 53)"
hname.rmempty = false

function hname.validate(self,value)
Expand Down

0 comments on commit 2971846

Please sign in to comment.