From 2e09886d4b2d0fbb5427073e8b2b746577ea645a Mon Sep 17 00:00:00 2001 From: dman776 Date: Wed, 13 Jul 2022 16:18:08 -0500 Subject: [PATCH] Fix tacticalname (#426) * fix tactical node names fixes#420 * make / optional * revert last change --- files/www/cgi-bin/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/www/cgi-bin/setup b/files/www/cgi-bin/setup index 86b53c5e..d3bd20e0 100755 --- a/files/www/cgi-bin/setup +++ b/files/www/cgi-bin/setup @@ -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