mirror of https://github.com/aredn/aredn.git
Fix tacticalname (#426)
* fix tactical node names fixes#420 * make / optional * revert last change
This commit is contained in:
parent
55642e05be
commit
2e09886d4b
|
@ -642,7 +642,7 @@ if parms.button_save then
|
|||
end
|
||||
|
||||
if nodetac:match("/") then
|
||||
node, tactical = nodetac:match("^%s*([%w-]+)%s*/%s*([%w-])%s*$")
|
||||
node, tactical = nodetac:match("^%s*([%w-]+)%s*/%s*([%w-]*)%s*$")
|
||||
if tactical == "" then
|
||||
err("invalid node/tactical name")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue