diff --git a/linux/adv/packet.go b/linux/adv/packet.go index ce555f0d..caeb98a3 100644 --- a/linux/adv/packet.go +++ b/linux/adv/packet.go @@ -174,6 +174,10 @@ func (p *Packet) Field(typ byte) []byte { return nil } l, t := b[0], b[1] + if l == 0 && t == 0 { + b = b[2:] + continue + } if int(l) < 1 || len(b) < int(1+l) { return nil }