From: Kirill A. Korinsky Subject: Re: relayctl: rename "empty" to "unavailable" in table status To: Rafael Sadowski Cc: tech@openbsd.org Date: Sat, 29 Aug 2026 12:27:53 +0200 On Sat, 29 Aug 2026 11:43:51 +0200, Rafael Sadowski wrote: > > relayctl: rename "empty" to "unavailable" in table status > > The word empty suggested the table has no hosts configured. It really means > the table has no hosts currently up, so unavailable describes the state more > clearly. > > OK? > Reads OK kirill@ and make sense. But I sugest wait a bit, maybe someone will bring some reason to not do it. > Index: relayctl.c > =================================================================== > RCS file: /cvs/src/usr.sbin/relayctl/relayctl.c,v > diff -u -p -r1.67 relayctl.c > --- relayctl.c 29 Aug 2026 09:36:49 -0000 1.67 > +++ relayctl.c 29 Aug 2026 09:42:47 -0000 > @@ -544,7 +544,7 @@ print_table_status(int up, int fl) > if (fl & F_DISABLE) { > snprintf(buf, sizeof(buf) - 1, "disabled"); > } else if (!up) { > - snprintf(buf, sizeof(buf) - 1, "empty"); > + snprintf(buf, sizeof(buf) - 1, "unavailable"); > } else if (verbose) > snprintf(buf, sizeof(buf) - 1, "active (%d hosts)", up); > else > -- wbr, Kirill