summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg')
-rw-r--r--internal/pkg/config/util.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/internal/pkg/config/util.go b/internal/pkg/config/util.go
index a1cd2dc7..228c9e3d 100644
--- a/internal/pkg/config/util.go
+++ b/internal/pkg/config/util.go
@@ -505,9 +505,10 @@ func NewPeerFromConfigStruct(pconf *Neighbor) *api.Peer {
},
Timers: &api.Timers{
Config: &api.TimersConfig{
- ConnectRetry: uint64(timer.Config.ConnectRetry),
- HoldTime: uint64(timer.Config.HoldTime),
- KeepaliveInterval: uint64(timer.Config.KeepaliveInterval),
+ ConnectRetry: uint64(timer.Config.ConnectRetry),
+ HoldTime: uint64(timer.Config.HoldTime),
+ KeepaliveInterval: uint64(timer.Config.KeepaliveInterval),
+ IdleHoldTimeAfterReset: uint64(timer.Config.IdleHoldTimeAfterReset),
},
State: &api.TimersState{
KeepaliveInterval: uint64(timer.State.KeepaliveInterval),
@@ -572,9 +573,10 @@ func NewPeerGroupFromConfigStruct(pconf *PeerGroup) *api.PeerGroup {
},
Timers: &api.Timers{
Config: &api.TimersConfig{
- ConnectRetry: uint64(timer.Config.ConnectRetry),
- HoldTime: uint64(timer.Config.HoldTime),
- KeepaliveInterval: uint64(timer.Config.KeepaliveInterval),
+ ConnectRetry: uint64(timer.Config.ConnectRetry),
+ HoldTime: uint64(timer.Config.HoldTime),
+ KeepaliveInterval: uint64(timer.Config.KeepaliveInterval),
+ IdleHoldTimeAfterReset: uint64(timer.Config.IdleHoldTimeAfterReset),
},
State: &api.TimersState{
KeepaliveInterval: uint64(timer.State.KeepaliveInterval),