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 { ...@@ -11,7 +11,7 @@ type Peer struct {
AdminEnabled bool AdminEnabled bool
ReconnectInterval time.Duration ReconnectInterval time.Duration
KeepAlive time.Duration KeepAlive time.Duration
HoldTimer time.Duration HoldTime time.Duration
LocalAddress net.IP LocalAddress net.IP
PeerAddress net.IP PeerAddress net.IP
LocalAS uint32 LocalAS uint32
......
...@@ -94,7 +94,7 @@ func NewPeer(c config.Peer, rib routingtable.RouteTableClient, server *BGPServer ...@@ -94,7 +94,7 @@ func NewPeer(c config.Peer, rib routingtable.RouteTableClient, server *BGPServer
addPathRecv: c.AddPathRecv, addPathRecv: c.AddPathRecv,
reconnectInterval: c.ReconnectInterval, reconnectInterval: c.ReconnectInterval,
keepaliveTime: c.KeepAlive, keepaliveTime: c.KeepAlive,
holdTime: c.HoldTimer, holdTime: c.HoldTime,
optOpenParams: make([]packet.OptParam, 0), optOpenParams: make([]packet.OptParam, 0),
} }
p.fsms = append(p.fsms, NewActiveFSM2(p)) p.fsms = append(p.fsms, NewActiveFSM2(p))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment