Skip to content
Snippets Groups Projects
Commit 481c5232 authored by Akihiko Odaki's avatar Akihiko Odaki Committed by Jason Wang
Browse files

net: Strip virtio-net header when dumping


filter-dump specifiees Ethernet as PCAP LinkType, which does not expect
virtio-net header. Having virtio-net header in such PCAP file breaks
PCAP unconsumable. Unfortunately currently there is no LinkType for
virtio-net so for now strip virtio-net header to convert the output to
Ethernet.

Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent d921db0a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment