Fix tx ttag pcap filter capture filter syntax
The capture filter was not getting compiled earlier
This commit is contained in:
parent
650c098370
commit
649fa03575
@ -41,7 +41,7 @@ void PcapTxTtagStats::run()
|
||||
struct bpf_program bpf;
|
||||
const int optimize = 1;
|
||||
QString capture_filter = QString(
|
||||
"(ether[len-4:4] == 0x%1) and (ether[len-5:1] == 0x%2")
|
||||
"(ether[len - 4:4] == 0x%1) and (ether[len - 5:1] == 0x%2)")
|
||||
.arg(SignProtocol::magic(), 0, BASE_HEX)
|
||||
.arg(SignProtocol::kTypeLenTtag, 0, BASE_HEX);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user