mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

The ascii formatter already was happy to read ports in the form "42/tcp"; however it emitted a warning message for each line. This patch fixes this and adds a bit more testing for the existing behavior.
4 lines
104 B
Text
4 lines
104 B
Text
[i=1.2.3.4], [p=80/tcp]
|
|
[i=1.2.3.5], [p=52/udp]
|
|
[i=1.2.3.6], [p=30/unknown]
|
|
[i=1.2.3.7], [p=50/unknown]
|