HomeFreeBSD

ping tests: fix for scapy-2.6.0

Description

ping tests: fix for scapy-2.6.0

Scapy 2.6.0 now appears to parse the IPOption during construction, and it then
gets confused at a single-byte option. IP Options typically contain at least a 1
byte type and 1 byte length. Avoid this by just returning the raw bytes, rather
than an IPOption object.

MFC after: 1 week
Reviewed by: Jose Luis Duran <jlduran@gmail.com>
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D47151

Details

Provenance
kpAuthored on Wed, Oct 16, 7:57 AM
Differential Revision
D47151: ping tests: fix for scapy-2.6.0
Parents
rGbf8d4cfe347b: eqos: Fix group address filtering.
Branches
Unknown
Tags
Unknown