1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

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 d234b011a8)
This commit is contained in:
Kristof Provost 2022-03-17 23:32:23 +01:00
parent 10d71d02cf
commit c956e8491f

View File

@ -29,6 +29,8 @@
#
import argparse
import logging
logging.getLogger("scapy").setLevel(logging.CRITICAL)
import scapy.all as sc
import socket
import sys