diff options
| author | Rodrigo Nardi <rnardi@netdef.org> | 2023-09-18 17:40:35 -0300 |
|---|---|---|
| committer | Rodrigo Nardi <rnardi@netdef.org> | 2023-10-10 15:39:59 -0300 |
| commit | e0dbeff5bc599be0dfade8256b53dcfef4435bc8 (patch) | |
| tree | 51b6332af336d06d1d3bae80e4a0c6e78fd11784 /lib/segment_routing.c | |
| parent | d2324b7b4a02e9ef6a219578567932addeb7f593 (diff) | |
ospfd: Fixing infinite loop when listing OSPF interfaces
The problem was happening because the ospf->oiflist has this behaviour, each interface was removed and added at the end of the list in each ospf_network_run_subnet call, generation an infinite loop.
As a solution, a copy of the list was generated and we interacted with a fixed list.
Signed-off-by: Rodrigo Nardi <rnardi@netdef.org>
Diffstat (limited to 'lib/segment_routing.c')
0 files changed, 0 insertions, 0 deletions
