Skip to content

Commit 11b01e3

Browse files
Arseniy Belorukovjoestringer
Arseniy Belorukov
authored andcommitted
set R-bit in graceful restart
Set R-bit in graceful restart negotiation to not to withdraw routes by Receiving Speaker Details is in https://www.rfc-editor.org/rfc/rfc4724.html#section-4.1 Fixes: cilium#28168 Signed-off-by: ArsenyBelorukov <arsenig.n@gmail.com>
1 parent 99ac0f1 commit 11b01e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/bgpv1/gobgp/server.go

+1
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ func (g *GoBGPServer) getPeerConfig(ctx context.Context, n types.NeighborRequest
290290
peer.GracefulRestart.Enabled = true
291291
peer.GracefulRestart.RestartTime = uint32(*n.Neighbor.GracefulRestart.RestartTimeSeconds)
292292
peer.GracefulRestart.NotificationEnabled = true
293+
peer.GracefulRestart.LocalRestarting = true
293294
}
294295

295296
for _, afiConf := range peer.AfiSafis {

0 commit comments

Comments
 (0)