From: Maria Matejka Date: Mon, 6 Mar 2023 18:28:08 +0000 (+0100) Subject: Fix obvious mistake in protocol debug dump X-Git-Tag: v3.0-alpha1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d6fe6dfb115196b6fc598bd0c6b5e17469586a9;p=thirdparty%2Fbird.git Fix obvious mistake in protocol debug dump --- diff --git a/nest/proto.c b/nest/proto.c index b172ad2d9..f8ad64dbd 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -1784,10 +1784,10 @@ protos_dump_all(void) debug("Protocols:\n"); struct proto *p; - WALK_LIST(p, proto_list) + WALK_LIST(p, proto_list) PROTO_LOCKED_FROM_MAIN(p) { #define DPF(x) (p->x ? " " #x : "") - debug(" protocol %s (%p) state %s with %d active channels flags: %s%s%s%s%s\n", + debug(" protocol %s (%p) state %s with %d active channels flags: %s%s%s%s\n", p->name, p, p_states[p->proto_state], p->active_channels, DPF(disabled), DPF(active), DPF(do_stop), DPF(reconfiguring)); #undef DPF