summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/server.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go
index 41e142fd..44831e3d 100644
--- a/server/server.go
+++ b/server/server.go
@@ -2409,6 +2409,14 @@ func (server *BgpServer) handleUpdateNeighbor(c *config.Neighbor) ([]*SenderMsg,
return msgs, policyUpdated, err
}
+ if !original.Timers.Config.Equal(&c.Timers.Config) {
+ log.WithFields(log.Fields{
+ "Topic": "Peer",
+ "Key": peer.ID(),
+ }).Info("update timer configuration")
+ peer.fsm.pConf.Timers.Config = c.Timers.Config
+ }
+
msgs, err := peer.updatePrefixLimitConfig(c.AfiSafis)
if err != nil {
log.WithFields(log.Fields{