git: d234b011a8f1 - main - netinet tests: only log critical errors from scapy
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Mar 2022 22:35:27 UTC
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=d234b011a8f1cf90acbda2e3cd166459736c7ed2 commit d234b011a8f1cf90acbda2e3cd166459736c7ed2 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2022-03-17 22:32:23 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2022-03-17 22:34:12 +0000 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