traffic: Conversation.add_short_packet is discerning about packets
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 19 Oct 2018 04:24:53 +0000 (17:24 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 8 Jan 2019 22:55:34 +0000 (23:55 +0100)
commitb5d493f92723c1c52616d2497953e4b7da0932ec
tree90c8b4553c811b3d54c87da70227aa0db1d35bfc
parentdb51004307a19447bb0ca2259cd7a49f4efc1874
traffic: Conversation.add_short_packet is discerning about packets

If the packets really wouldn't do anything, we might as well not add them.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/emulate/traffic.py