Skip to content

Commit

Permalink
status: report actual min protocol version
Browse files Browse the repository at this point in the history
  • Loading branch information
itizir committed Nov 28, 2018
1 parent 61ba455 commit e0f36c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion status.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Status struct {
func NewStatus(router *Router) *Status {
return &Status{
Protocol: Protocol,
ProtocolMinVersion: ProtocolMinVersion,
ProtocolMinVersion: int(router.ProtocolMinVersion),
ProtocolMaxVersion: ProtocolMaxVersion,
Encryption: router.usingPassword(),
PeerDiscovery: router.PeerDiscovery,
Expand Down

0 comments on commit e0f36c1

Please sign in to comment.