Skip to content

Commit

Permalink
refine address family type
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Mar 13, 2018
1 parent b4e1240 commit 087c0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/net/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var (
)

// AddressFamily is the type of address.
type AddressFamily int
type AddressFamily byte

const (
// AddressFamilyIPv4 represents address as IPv4
Expand Down

0 comments on commit 087c0c1

Please sign in to comment.