From d234b011a8f1cf90acbda2e3cd166459736c7ed2 Mon Sep 17 00:00:00 2001 From: Kristof Provost Date: Thu, 17 Mar 2022 23:32:23 +0100 Subject: [PATCH] netinet tests: only log critical errors from scapy See also a26e895f3d. MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") --- tests/sys/netinet/redirect.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/sys/netinet/redirect.py b/tests/sys/netinet/redirect.py index ad8755edd987..d60457739786 100755 --- a/tests/sys/netinet/redirect.py +++ b/tests/sys/netinet/redirect.py @@ -29,6 +29,8 @@ # import argparse +import logging +logging.getLogger("scapy").setLevel(logging.CRITICAL) import scapy.all as sc import socket import sys