summaryrefslogtreecommitdiff
path: root/nest/rt-table.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-03-30 15:09:53 +0200
committerMaria Matejka <mq@ucw.cz>2021-03-30 21:56:08 +0200
commit4635314cefd55aaa2a0146b6722df55e7efba4b8 (patch)
tree9e9263eff6f5f06e9be58e86f8e41240514a66a9 /nest/rt-table.c
parent7a74ad5a61c82ab0062a62dbc9ea6ab91d480485 (diff)
Routing tables list iteration should use explicit node struct position
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r--nest/rt-table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 626c2fb8..7b81e141 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -1741,8 +1741,9 @@ void
rt_dump_all(void)
{
rtable *t;
+ node *n;
- WALK_LIST(t, routing_tables)
+ WALK_LIST2(t, n, routing_tables, n)
rt_dump(t);
}