This is the minimal change to handle the rename of invalid to disqualified
in bgpctl.

Maybe the QS argument should also be changed which makes the diff a lot bigger.
-- 
:wq Claudio

Index: qs.c
===================================================================
RCS file: /cvs/src/usr.sbin/bgplgd/qs.c,v
retrieving revision 1.4
diff -u -p -r1.4 qs.c
--- qs.c        13 Mar 2023 17:31:28 -0000      1.4
+++ qs.c        9 May 2023 14:01:57 -0000
@@ -391,7 +391,7 @@ qs_argv(char **argv, size_t argc, size_t
                        argv[argc++] = "error";
        } else if (ctx->qs_args[QS_INVALID].one) {
                if (argc < len)
-                       argv[argc++] = "invalid";
+                       argv[argc++] = "disqualified";
        } else if (ctx->qs_args[QS_LEAKED].one) {
                if (argc < len)
                        argv[argc++] = "leaked";

Reply via email to