Cleanups of ipv6 changes.

I was late re-reviewing and some comments did not get resolved.
This commit is contained in:
Tim Hockin
2014-11-17 09:33:14 -08:00
parent 931cd3a2df
commit 9c218f0a19
3 changed files with 16 additions and 9 deletions

View File

@@ -38,11 +38,11 @@ type Interface interface {
IsIpv6() bool
}
type Protocol bool
type Protocol byte
const (
ProtocolIpv4 Protocol = false
ProtocolIpv6 Protocol = true
ProtocolIpv4 Protocol = iota + 1
ProtocolIpv6
)
type Table string