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 }