You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to filter packets for the INET Visualizer I applied a filter to the totalLength field to only show if the packet had a certain number of bytes (in it's totalLength field)
I tried: networkRouteVisualizer.packetFilter = "totalLength({1..})"; But it needed the unit.
So I tried: networkRouteVisualizer.packetFilter = "totalLength({1..}B)";
After deep debugging into cmatchexpression I realised that the field with a unit was evaluating as 24 B, so I added a space: networkRouteVisualizer.packetFilter = "totalLength({1..} B)";
Still didn't work because the space got stripped! I had to resort to networkRouteVisualizer.packetFilter = "totalLength({1..}*B)";
This whole thing was really confusing and I could only solve it by digging deep into the omnetpp core, which is ok for me, but expects a huge amount of a non c++ competant user. Ideally I wouldn't have to do it either!
To Reproduce
I can provide MWE if required.
The text was updated successfully, but these errors were encountered:
Thanks for the feedback! Actually, we also sort of knew about these kinds of issues, and we started working on a better solution just a couple of days ago. If you'd like a test drive, please ask back next week or so.
Platform
Describe the bug
When trying to filter packets for the INET Visualizer I applied a filter to the totalLength field to only show if the packet had a certain number of bytes (in it's totalLength field)
networkRouteVisualizer.packetFilter = "totalLength({1..})";
But it needed the unit.networkRouteVisualizer.packetFilter = "totalLength({1..}B)";
24 B
, so I added a space:networkRouteVisualizer.packetFilter = "totalLength({1..} B)";
networkRouteVisualizer.packetFilter = "totalLength({1..}*B)";
This whole thing was really confusing and I could only solve it by digging deep into the omnetpp core, which is ok for me, but expects a huge amount of a non c++ competant user. Ideally I wouldn't have to do it either!
To Reproduce
I can provide MWE if required.
The text was updated successfully, but these errors were encountered: