mirror of
https://github.com/soypat/lneto.git
synced 2026-09-10 16:49:37 +00:00
ethernet: MTU semantic meaning corrections, add FCS logic (#28)
This commit is contained in:
+1
-1
@@ -217,7 +217,7 @@ func newTCPStacks(t *testing.T, randSeed int64, mtu int) (s1, s2 *StackAsync, c1
|
||||
}
|
||||
|
||||
func testerFrom(t *testing.T, mtu int) *tester {
|
||||
carrierDataSize := mtu + 14
|
||||
carrierDataSize := mtu + ethernet.MaxOverheadSize
|
||||
return &tester{
|
||||
t: t,
|
||||
buf: make([]byte, carrierDataSize),
|
||||
|
||||
Reference in New Issue
Block a user