We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 045444e commit 56457bfCopy full SHA for 56457bf
pkg/packet/afpacket/readwriter_other.go
@@ -1,3 +1,4 @@
1
+//go:build !linux
2
// +build !linux
3
4
package afpacket
@@ -16,7 +17,7 @@ type Source struct{}
16
17
// Assert that AfPacketSource conforms to the packet.ReadWriter interface
18
var _ packet.ReadWriter = (*Source)(nil)
19
-func NewPacketSource(iface string) (*Source, error) {
20
+func NewPacketSource(iface string, vpnMode bool) (*Source, error) {
21
return nil, ErrOS
22
}
23
0 commit comments