Fix tx ttag pcap filter capture filter syntax

The capture filter was not getting compiled earlier
This commit is contained in:
Srivats P 2023-04-29 12:33:34 +05:30
parent 650c098370
commit 649fa03575

View File

@ -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);