Skip to content

Commit

Permalink
Merge pull request #89 from itizir/status-proto-version
Browse files Browse the repository at this point in the history
Status: report actual min protocol version
  • Loading branch information
bboreham committed Feb 4, 2019
2 parents d4a1108 + e0f36c1 commit 512bdb7
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 512bdb7

Please sign in to comment.