mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
pf tests: fix plfow:v6 after scapy-2.6.0 update
Avoid receiving ICMPv6 destination unreachable packets, because scapy will
attempt to parse the pflow information from those (partial) packets as well, and
then get confused.
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
9c12533672
commit
2e13459e2a
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ def parse_ipfix(p):
|
|||
c = datafl.payload
|
||||
|
||||
def receive(recvif, recvport):
|
||||
pkts = sp.sniff(iface=recvif, timeout=65)
|
||||
pkts = sp.sniff(iface=recvif, timeout=65, filter="udp port 2055")
|
||||
|
||||
if len(pkts) == 0:
|
||||
print("No data")
|
||||
|
|
|
|||
Loading…
Reference in a new issue