added ipv6 compatability to other commands

This commit is contained in:
2021-06-25 17:22:01 +04:00
parent 21b9efc3a6
commit 657577f583
5 changed files with 81 additions and 136 deletions

View File

@@ -1,7 +1,6 @@
package client
import (
"fmt"
"testing"
)
@@ -13,13 +12,3 @@ func TestUpdateIpTableListClient(t *testing.T) {
}
}
// Testing is a IPV6 address is returned
func TestGetCurrentIPV6(t *testing.T) {
res, err := GetCurrentIPV6()
if err != nil {
t.Error(err)
}
fmt.Println(res)
}