Skip to content

Commit 512bdb7

Browse files
authored
Merge pull request #89 from itizir/status-proto-version
Status: report actual min protocol version
2 parents d4a1108 + e0f36c1 commit 512bdb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type Status struct {
3030
func NewStatus(router *Router) *Status {
3131
return &Status{
3232
Protocol: Protocol,
33-
ProtocolMinVersion: ProtocolMinVersion,
33+
ProtocolMinVersion: int(router.ProtocolMinVersion),
3434
ProtocolMaxVersion: ProtocolMaxVersion,
3535
Encryption: router.usingPassword(),
3636
PeerDiscovery: router.PeerDiscovery,

0 commit comments

Comments
 (0)