From e8adb3e3ab3e98ccde364dc589aa3a4b3e329bd4 Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 9 May 2023 14:35:45 +0000 Subject: [PATCH] Adjust bgplgd after renaming of the invalid option in bgpctl. This does not change the query string argument. We may do this at a later stage. OK tb@ --- usr.sbin/bgplgd/qs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bgplgd/qs.c b/usr.sbin/bgplgd/qs.c index cb5dfde7c79..0aa10f6d4f2 100644 --- a/usr.sbin/bgplgd/qs.c +++ b/usr.sbin/bgplgd/qs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qs.c,v 1.4 2023/03/13 17:31:28 claudio Exp $ */ +/* $OpenBSD: qs.c,v 1.5 2023/05/09 14:35:45 claudio Exp $ */ /* * Copyright (c) 2020 Claudio Jeker * @@ -391,7 +391,7 @@ qs_argv(char **argv, size_t argc, size_t len, struct lg_ctx *ctx, int barenbr) 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"; -- 2.20.1