From 3faeefe5597704e5afff7cbfc1a96481b98315e0 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Tue, 26 Nov 2024 21:20:30 -0800 Subject: [PATCH] Fix missing 'do' syntax error (#1720) --- files/usr/local/bin/node-setup | 1 + 1 file changed, 1 insertion(+) diff --git a/files/usr/local/bin/node-setup b/files/usr/local/bin/node-setup index 5d105ab3..03f94946 100755 --- a/files/usr/local/bin/node-setup +++ b/files/usr/local/bin/node-setup @@ -1064,6 +1064,7 @@ if h and e then local reservations = cm:get_all("setup", "dhcpreservations", "reservation") or {} for _, reservation in ipairs(reservations) + do local mac, ip, host, noprop = reservation:match("(%S+)%s+(%S+)%s+(%S+)%s*(%S*)") if mac and ip and host and noprop then ip = decimal_to_ip(netaddr + ip)