diff options
Diffstat (limited to 'test/packetimpact/testbench/rawsockets.go')
-rw-r--r-- | test/packetimpact/testbench/rawsockets.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packetimpact/testbench/rawsockets.go b/test/packetimpact/testbench/rawsockets.go index ff722d4a6..a9ad72b63 100644 --- a/test/packetimpact/testbench/rawsockets.go +++ b/test/packetimpact/testbench/rawsockets.go @@ -169,7 +169,7 @@ func NewInjector(t *testing.T) (Injector, error) { // Send a raw frame. func (i *Injector) Send(b []byte) { if _, err := unix.Write(i.fd, b); err != nil { - i.t.Fatalf("can't write: %s", err) + i.t.Fatalf("can't write: %s of len %d", err, len(b)) } } |