refine address family type

This commit is contained in:
Darien Raymond
2018-03-13 09:02:34 +01:00
parent b4e1240160
commit 087c0c1499
+1 -1
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