refine address family type

pull/985/head
Darien Raymond 2018-03-13 09:02:34 +01:00
parent b4e1240160
commit 087c0c1499
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ var (
)
// AddressFamily is the type of address.
type AddressFamily int
type AddressFamily byte
const (
// AddressFamilyIPv4 represents address as IPv4