Skip to content

Commit

Permalink
Merge pull request #463 from handymenny/tshark-compatibility
Browse files Browse the repository at this point in the history
tshark test: improve compatibility with future versions
  • Loading branch information
handymenny authored Aug 18, 2024
2 parents 4ddeb30 + 41e574f commit 5727a13
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ internal class TsharkTest {
return lines
.dropLastWhile { it.isBlank() }
.mapNotNull {
if (it.startsWith("DLT") || it.endsWith("") || it.contains("[truncated]")) {
if (
it.startsWith("DLT") ||
it.endsWith("") ||
it.contains("[truncated]") ||
it.contains("[…]")
) {
null
} else if (it.contains("maxNumberConfiguredTCIstatesPerCC")) {
it.replace(
Expand Down

0 comments on commit 5727a13

Please sign in to comment.