aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_scripts/ipfix_sessions.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/traffic_scripts/ipfix_sessions.py')
-rwxr-xr-xresources/traffic_scripts/ipfix_sessions.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/resources/traffic_scripts/ipfix_sessions.py b/resources/traffic_scripts/ipfix_sessions.py
index e7597a894a..11e77fa08c 100755
--- a/resources/traffic_scripts/ipfix_sessions.py
+++ b/resources/traffic_scripts/ipfix_sessions.py
@@ -192,6 +192,11 @@ def main():
pkt = rxq.recv(5)
if pkt is None:
raise RuntimeError("RX timeout")
+
+ if pkt.haslayer("ICMPv6ND_NS"):
+ # read another packet in the queue if the current one is ICMPv6ND_NS
+ continue
+
if pkt.haslayer("IPFIXHeader"):
if pkt.haslayer("IPFIXTemplate"):
# create or update template for IPFIX data packets
@@ -219,6 +224,6 @@ def main():
raise RuntimeError("Received non-IPFIX packet or IPFIX header was"
"not recognized.")
-if __name__ == "__main__":
+if __name__ == "__main__":
main()