HomeFreeBSD

ping: tests: Cleanup IPOption()s

Description

ping: tests: Cleanup IPOption()s

Scapy now only accepts known options with IPOption(), so our unknown
option must be passed raw.

While here, prefer the named options for EOL and NOP.

Reviewed by: emaste, kp
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D47160

(cherry picked from commit 2e29bf7a2ae66acb6e65ffc1c923cfb373af67bd)

Details

Provenance
jlduran_gmail.comAuthored on Tue, Nov 5, 2:46 AM
Parents
rGf6d94e23d1d9: rc: Update ipfilter example rules location
Branches
Unknown
Tags
Unknown