From 6d9c9c19122417f75620e916390d0ca07cde2bd1 Mon Sep 17 00:00:00 2001 From: Callan Bryant Date: Sat, 24 Oct 2020 21:06:28 +0100 Subject: [PATCH] remove ipVersion type --- configtypes.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/configtypes.go b/configtypes.go index 3a5317a..7080864 100644 --- a/configtypes.go +++ b/configtypes.go @@ -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