| 188 | } |
| 189 | |
| 190 | struct chan *next_chan(const struct node *node, struct chan_map_iter *i) |
| 191 | { |
| 192 | if (!node_uses_chan_map(node)) { |
| 193 | i->i.off++; |
| 194 | return next_chan_arr(node, i); |
| 195 | } |
| 196 | |
| 197 | return chan_map_next(&node->chans.map, i); |
| 198 | } |
| 199 | |
| 200 | static void destroy_routing_state(struct routing_state *rstate) |
| 201 | { |
no test coverage detected