From d1f0dac302463668f9d238262e659409bdca47c7 Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> Date: Mon, 23 May 2022 12:30:54 +0800 Subject: [PATCH] Fix: test broken on opensource repo --- test/util_other_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/util_other_test.go b/test/util_other_test.go index fc4a68af..708b6099 100644 --- a/test/util_other_test.go +++ b/test/util_other_test.go @@ -4,9 +4,9 @@ package main import ( "errors" - "net/netip" + "net" ) -func defaultRouteIP() (netip.Addr, error) { - return netip.Addr{}, errors.New("not supported") +func defaultRouteIP() (net.IP, error) { + return nil, errors.New("not supported") }