mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
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:
parent
8772a9117b
commit
d234b011a8
|
@ -29,6 +29,8 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
import logging
|
||||||
|
logging.getLogger("scapy").setLevel(logging.CRITICAL)
|
||||||
import scapy.all as sc
|
import scapy.all as sc
|
||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
|
|
Loading…
Reference in a new issue