tools: Relax dup filter check for stat

Add a dup allowed check for "stat.stat_*" and "stat.state" to allow
packet-stat.c to pass the checks.
This commit is contained in:
Stig Bjørlykke 2023-06-22 13:18:40 +02:00
parent 32369941b3
commit f11450a587
1 changed files with 2 additions and 0 deletions

View File

@ -350,6 +350,8 @@ sub is_proto_dup_allowed {
if (($_[0] eq "sm") && (index($_[1], "sm_") >= 0)) {return 1;}
if (($_[0] eq "smpp") && (index($_[1], "smppplus") >= 0)) {return 1;}
if (($_[0] eq "spray") && (index($_[1], "sprayarr") >= 0)) {return 1;}
if (($_[0] eq "stat") && (index($_[1], "stat_") >= 0)) {return 1;}
if (($_[0] eq "stat") && (index($_[1], "state") >= 0)) {return 1;}
if (($_[0] eq "tds") && (index($_[1], "tds_") >= 0)) {return 1;}
if (($_[0] eq "time") && (index($_[1], "time") >= 0)) {return 1;}
if (($_[0] eq "tn3270") && (index($_[1], "tn3270e") >= 0)) {return 1;}