aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2024-10-16 07:57:06 +0000
committerKristof Provost <kp@FreeBSD.org>2024-10-16 15:25:57 +0000
commit2926c2594249f64fecbbdcb0b0b9a3591931ab04 (patch)
tree7c339bd8c6a97e9fbe74b13451a2f03da03cb2cb /usr.sbin/ppp/main.c
parentbf8d4cfe347b34a9ca21e2cdab5f9bba09be73bf (diff)
downloadsrc-2926c2594249f64fecbbdcb0b0b9a3591931ab04.tar.gz
src-2926c2594249f64fecbbdcb0b0b9a3591931ab04.zip
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
Diffstat (limited to 'usr.sbin/ppp/main.c')
0 files changed, 0 insertions, 0 deletions