mirror of
https://github.com/soypat/lneto.git
synced 2026-08-21 06:59:04 +00:00
more effort into understanding why TAP interface is so slow on my linux machine to no avail
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ func (v *Validator) AddBitPosErr(bitStart, bitLen int, err error) {
|
||||
if err == nil {
|
||||
panic("err argument to bitPosErr cannot be nil")
|
||||
} else if bitLen <= 0 {
|
||||
panic("")
|
||||
panic("zero bitlen")
|
||||
}
|
||||
v.accumBitpos = append(v.accumBitpos, BitPosErr{BitStart: bitStart, BitLen: bitLen, Err: err})
|
||||
v.accum = append(v.accum, &v.accumBitpos[len(v.accumBitpos)-1])
|
||||
|
||||
Reference in New Issue
Block a user