netinet tests: only log critical errors from scapy

See also a26e895f3d.

MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Kristof Provost 2022-03-17 23:32:23 +01:00
parent 8772a9117b
commit d234b011a8

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