mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 19:11:44 +00:00
ospfd: can not delete "segment-routing node-msd" when SR if off
This fixes the initial implementation of commit 7743f2f8c0
("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 #14910
Signed-off-by: Christian Breunig <christian@breunig.cc>
This commit is contained in:
parent
1bc2fa3584
commit
ba45aa62e7
@ -580,6 +580,7 @@ static void ospf_sr_stop(void)
|
|||||||
hash_clean(OspfSR.neighbors, (void *)sr_node_del);
|
hash_clean(OspfSR.neighbors, (void *)sr_node_del);
|
||||||
OspfSR.self = NULL;
|
OspfSR.self = NULL;
|
||||||
OspfSR.status = SR_OFF;
|
OspfSR.status = SR_OFF;
|
||||||
|
OspfSR.msd = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user