From 08a937f3a1a0933c48759ca06135eba24e85d55c Mon Sep 17 00:00:00 2001 From: ginuerzh Date: Sat, 5 Nov 2022 16:37:26 +0800 Subject: [PATCH] fix compile error --- listener/tap/tap_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listener/tap/tap_darwin.go b/listener/tap/tap_darwin.go index 69cfe1a..196cd91 100644 --- a/listener/tap/tap_darwin.go +++ b/listener/tap/tap_darwin.go @@ -7,7 +7,7 @@ import ( "github.com/songgao/water" ) -func (l *tapListener) createTap() (ifce *water.Interface, ip net.IP, err error) { +func (l *tapListener) createTap() (ifce *water.Interface, name string, ip net.IP, err error) { err = errors.New("tap is not supported on darwin") return }