summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-03-06 19:28:08 +0100
committerMaria Matejka <mq@ucw.cz>2023-04-04 17:00:58 +0200
commit7d6fe6dfb115196b6fc598bd0c6b5e17469586a9 (patch)
tree463d6b8a251b7aee3e493082450000c765085617 /nest
parentc8507c124709a8640fbae46fa37015d1e00a694f (diff)
Fix obvious mistake in protocol debug dump
Diffstat (limited to 'nest')
-rw-r--r--nest/proto.c4
1 files changed, 2 insertions, 2 deletions
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