summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb')
-rw-r--r--meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb b/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb
index 678aec0135..0c547a53ce 100644
--- a/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb
+++ b/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb
@@ -42,7 +42,7 @@ do_install_ptest() {
42 # note1: if ipv6 isn't enabled, skip the related test (add '-K ipv6' argument) 42 # note1: if ipv6 isn't enabled, skip the related test (add '-K ipv6' argument)
43 # note2: to make this test work, your ISP also must support ipv6 - the test is trying 43 # note2: to make this test work, your ISP also must support ipv6 - the test is trying
44 # to ping google.com through ipv6. 44 # to ping google.com through ipv6.
45 if [ "${@oe.utils.all_distro_features(d, 'ipv6', 'true', 'false')}" = "false" ]; then 45 if [ -z "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" ]; then
46 sed -i 's/UTscapy.py/UTscapy.py -K ipv6/g' ${D}${PTEST_PATH}/run-ptest 46 sed -i 's/UTscapy.py/UTscapy.py -K ipv6/g' ${D}${PTEST_PATH}/run-ptest
47 fi 47 fi
48} 48}