Skip to content

Commit

Permalink
This is to test a fix for a tshark error on Centos
Browse files Browse the repository at this point in the history
I'm not yet sure why tshark is stricter about this flag on Centos, but

dumpcap -i enp0s3 -w - | tshark -r -

works and

dumpcap -i enp0s3 -w - | tshark -i -

doesn't work...
  • Loading branch information
gcla committed Aug 16, 2020
1 parent 8a46b89 commit 9800dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcap/cmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (c Commands) Psml(pcap interface{}, displayFilter string) IPcapCommand {
// read from cmdline file
args = append(args, "-r", pcap.(string))
} else {
args = append(args, "-i", "-")
args = append(args, "-r", "-")
args = append(args, "-l") // provide data sooner to decoder routine in termshark
}

Expand Down

0 comments on commit 9800dd4

Please sign in to comment.