Wireshark 4.2.0 does not display text field in multiple lines using a "\n" character.

Prior to Wireshark 4.2.0, When a text filed has to be printed using Lua Dissector, I used "\n" character and it solved the problem. But with 4.2.0, all the data is showing in one line.

venu_kaka's avatar
1
venu_kaka
asked 2023-12-05 18:29:35 +0000
edit flag offensive 0 remove flag close merge delete

Comments

For example. The data with 4.2.0 shows the text as "{\r\n"Field1": 15,\n"Field2": true,\n}".. With the previous versions, the data showed nicely formatted in 4 lines like

{
"Field1": 15,
"Field2": true,
}
venu_kaka's avatar venu_kaka (2023-12-05 19:36:20 +0000) edit
add a comment see more comments