Skip to content
Snippets Groups Projects
Commit 06210f4c authored by Oliver Herms's avatar Oliver Herms
Browse files

Correcting holdtimer to holdtime

parent 5c028ffb
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ type Peer struct {
AdminEnabled bool
ReconnectInterval time.Duration
KeepAlive time.Duration
HoldTimer time.Duration
HoldTime time.Duration
LocalAddress net.IP
PeerAddress net.IP
LocalAS uint32
......
......@@ -94,7 +94,7 @@ func NewPeer(c config.Peer, rib routingtable.RouteTableClient, server *BGPServer
addPathRecv: c.AddPathRecv,
reconnectInterval: c.ReconnectInterval,
keepaliveTime: c.KeepAlive,
holdTime: c.HoldTimer,
holdTime: c.HoldTime,
optOpenParams: make([]packet.OptParam, 0),
}
p.fsms = append(p.fsms, NewActiveFSM2(p))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment