diff --git a/pcap_diff.py b/pcap_diff.py index e12b3c3..979ebd8 100755 --- a/pcap_diff.py +++ b/pcap_diff.py @@ -329,9 +329,11 @@ def compare_summary (): found_packet = False for dump in dumps: - if dump.get(serial_packet): - del dump[serial_packet] - found_packet = True + packet2 = dump.get(serial_packet) + if packet2: + if packet == packet2 or not complete_diff: + del dump[serial_packet] + found_packet = True if not diff_only_right and not found_packet: if show_diffs: