Skip to content

Commit

Permalink
ospfd: can not delete "segment-routing node-msd" when SR if off
Browse files Browse the repository at this point in the history
This fixes the initial implementation of commit 7743f2f ("OSPFd: Update
Segment Routing PR following review") where it wsa not possible to remove
the "segment-routing node-msd" CLI nodes via vtysh once segment-routing got
disabled.

Closes FRRouting#14910
  • Loading branch information
c-po committed Feb 8, 2024
1 parent 1bc2fa3 commit 6621226
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ospfd/ospf_sr.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ static void ospf_sr_stop(void)
hash_clean(OspfSR.neighbors, (void *)sr_node_del);
OspfSR.self = NULL;
OspfSR.status = SR_OFF;
OspfSR.msd = 0;
}

/*
Expand Down

0 comments on commit 6621226

Please sign in to comment.