]> git.proxmox.com Git - ovs.git/commit
ovs-tcpundump: allow multiple packet lengths
authorAaron Conole <aconole@redhat.com>
Tue, 22 Oct 2019 14:55:59 +0000 (10:55 -0400)
committerBen Pfaff <blp@ovn.org>
Wed, 23 Oct 2019 17:22:11 +0000 (10:22 -0700)
commit1051576cf2b8a6ffddf849d984c250a8456e6144
treec30748a43d8f8738883aaa396198ede85d6c5914
parentc691cffb03ba3a7595f364c2766fdd2ace8c3842
ovs-tcpundump: allow multiple packet lengths

The tcpundump tool expects all packets to be a length which aligns to
exactly a 4-nibble boundary.  This means packets like DNS requests will be
stripped before being correctly processed.  Fix this by allowing at least
two nibbles (or one byte) alignment.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
utilities/ovs-tcpundump.in