On Tue, May 09, 2023 at 04:19:01PM +0200, Claudio Jeker wrote:
> This is the minimal change to handle the rename of invalid to disqualified
> in bgpctl.
ok
>
> Maybe the QS argument should also be changed which makes the diff a lot
> bigger.
I think we should land the minimal fix first, since we will want to
backport this.
> --
> :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";
>