aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-05-26 11:07:50 +0000
committerKristof Provost <kp@FreeBSD.org>2021-06-02 18:40:07 +0000
commita58a471b5d512c1ae81d3298b5cb317793373867 (patch)
treebd14258c0ca9367c7707896326ca5c15b6ff024d
parentcca9c2f51372f7a6c69b52617f58be4d725910f0 (diff)
downloadsrc-a58a471b5d512c1ae81d3298b5cb317793373867.tar.gz
src-a58a471b5d512c1ae81d3298b5cb317793373867.zip
pf tests: Only log critical errors from scapy
See a26e895f3d803cc1f4ee1c2b33c61330998808b9. Silence these new tests as well. MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 9d0bc96ef8c0288c05a627b3961edd2da046c5c9)
-rw-r--r--tests/sys/netpfil/pf/fragcommon.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sys/netpfil/pf/fragcommon.py b/tests/sys/netpfil/pf/fragcommon.py
index 2bcd3989b420..1ca3129e6057 100644
--- a/tests/sys/netpfil/pf/fragcommon.py
+++ b/tests/sys/netpfil/pf/fragcommon.py
@@ -27,6 +27,8 @@
import argparse
import os
+import logging
+logging.getLogger("scapy").setLevel(logging.CRITICAL)
import scapy.all as sp
import sys
import time