git: c956e8491f6c - stable/13 - netinet tests: only log critical errors from scapy
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Mar 2022 13:15:55 UTC
The branch stable/13 has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=c956e8491f6c2684cfdae53f8f32275bca4f11a7
commit c956e8491f6c2684cfdae53f8f32275bca4f11a7
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2022-03-17 22:32:23 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2022-03-24 09:45:00 +0000
netinet tests: only log critical errors from scapy
See also a26e895f3d.
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit d234b011a8f1cf90acbda2e3cd166459736c7ed2)
---
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