mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
Tweak to SMTP script to adjust for new string slicing behaviour.
Also updating NEWS with a note.
This commit is contained in:
parent
3c6f82ca73
commit
d5a48f04ac
2 changed files with 4 additions and 1 deletions
3
NEWS
3
NEWS
|
@ -16,6 +16,9 @@ New Functionality
|
|||
Changed Functionality
|
||||
---------------------
|
||||
|
||||
- string slices now exclude the end index (e.g., "123"[1:2] returns
|
||||
"2"). Generally, Bro's string slices now behave similar to Python.
|
||||
|
||||
- ssl_client_hello() now receives a vector of ciphers, instead of a
|
||||
set, to preserve their order.
|
||||
|
||||
|
|
|
@ -291,7 +291,7 @@ function describe(rec: Info): string
|
|||
{
|
||||
if ( |rec$subject| > 20 )
|
||||
{
|
||||
abbrev_subject = rec$subject[0:20] + "...";
|
||||
abbrev_subject = rec$subject[0:21] + "...";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue