fix compile error

This commit is contained in:
ginuerzh 2022-11-05 16:37:26 +08:00
parent 84079e32d2
commit 08a937f3a1

View File

@ -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
}