mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Ascii formatter: do not complain about port text.
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.
This commit is contained in:
parent
116079a9ad
commit
26ea1999ec
7 changed files with 88 additions and 16 deletions
|
@ -0,0 +1,2 @@
|
|||
warning: ../input.log/Input::READER_ASCII: Port '50/trash' contained unknown protocol 'trash'
|
||||
received termination signal
|
|
@ -0,0 +1,4 @@
|
|||
[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]
|
Loading…
Add table
Add a link
Reference in a new issue