Darien Raymond 8 years ago
parent
commit
66b81a842d
2 changed files with 2 additions and 1 deletions
  1. 1 0
      common/net/system.go
  2. 1 1
      common/protocol/headers.go

+ 1 - 0
common/net/system.go

@@ -31,6 +31,7 @@ type UDPConn = net.UDPConn
 type UnixAddr = net.UnixAddr
 type UnixConn = net.UnixConn
 
+// IP is an alias for net.IP.
 type IP = net.IP
 type IPMask = net.IPMask
 type IPNet = net.IPNet

+ 1 - 1
common/protocol/headers.go

@@ -80,8 +80,8 @@ type CommandSwitchAccount struct {
 	Host     net.Address
 	Port     net.Port
 	ID       *uuid.UUID
-	AlterIds uint16
 	Level    uint32
+	AlterIds uint16
 	ValidMin byte
 }