Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2022 13:15:55 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c956e8491f6c - stable/13 - netinet tests: only log critical errors from scapy
Message-ID:  <202203241315.22ODFtot032440@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203241315.22ODFtot032440>