pf tests: Fix pft_ping.py to work with scapy 2.3.3
authorkp <kp@FreeBSD.org>
Tue, 9 Jan 2018 19:02:42 +0000 (19:02 +0000)
committerkp <kp@FreeBSD.org>
Tue, 9 Jan 2018 19:02:42 +0000 (19:02 +0000)
commit0299fa77d4e5fc80aba4ec6e4b057c1f1f513764
tree33bf43a14482f5f8055b37f70a236b339dee59e6
parent2c382e023abc2d30361ba7473e12d15b74ae0d39
pf tests: Fix pft_ping.py to work with scapy 2.3.3

Scapy requires the Raw payload to be a string, which was not the case. This
caused the pft_ping.py script to fail, which in turn caused the test to fail.
tests/sys/netpfil/pf/pft_ping.py