remove ipVersion type

This commit is contained in:
Callan Bryant 2020-10-24 21:06:28 +01:00
parent 055a1adce3
commit 6d9c9c1912
No known key found for this signature in database
GPG Key ID: C31FA9DF3ACBFFAA

View File

@ -11,13 +11,6 @@ import (
"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
)
type ipVersion int
const (
IPv4 ipVersion = 4
IPv6 ipVersion = 6
)
// see https://github.com/WireGuard/wgctrl-go/blob/master/wgtypes/types.go for definitions
type PeerConfig struct {
// Used to update DNS