diff options
-rw-r--r-- | test/packetimpact/testbench/rawsockets.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/packetimpact/testbench/rawsockets.go b/test/packetimpact/testbench/rawsockets.go index 6d95c033d..32be06ac4 100644 --- a/test/packetimpact/testbench/rawsockets.go +++ b/test/packetimpact/testbench/rawsockets.go @@ -58,9 +58,6 @@ func (n *DUTTestNet) NewSniffer(t *testing.T) (Sniffer, error) { if err := unix.Bind(snifferFd, &sa); err != nil { return Sniffer{}, err } - if err := unix.SetsockoptInt(snifferFd, unix.SOL_SOCKET, unix.SO_RCVBUFFORCE, 1); err != nil { - t.Fatalf("can't set sockopt SO_RCVBUFFORCE to 1: %s", err) - } if err := unix.SetsockoptInt(snifferFd, unix.SOL_SOCKET, unix.SO_RCVBUF, 1e7); err != nil { t.Fatalf("can't setsockopt SO_RCVBUF to 10M: %s", err) } |