From 7d6fe6dfb115196b6fc598bd0c6b5e17469586a9 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 6 Mar 2023 19:28:08 +0100 Subject: Fix obvious mistake in protocol debug dump --- nest/proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nest') diff --git a/nest/proto.c b/nest/proto.c index b172ad2d..f8ad64db 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 -- cgit v1.2.3