This commit is contained in:
Bethuel Mmbaga
2024-08-14 13:30:10 +03:00
committed by GitHub
parent 181dd93695
commit 6016d2f7ce
11 changed files with 28 additions and 24 deletions

View File

@ -10,5 +10,5 @@ import (
// Listen is not supported on other platforms then Linux
func Listen(port int, filter BPFFilter) (net.PacketConn, error) {
return nil, fmt.Errorf(fmt.Sprintf("Not supported OS %s. SharedSocket is only supported on Linux", runtime.GOOS))
return nil, fmt.Errorf("not supported OS %s. SharedSocket is only supported on Linux", runtime.GOOS)
}