zeek/scripts/base
jeff-bb 04113b13d5
Avoid excessive fmt calls, return default behavior on unknown
Using "in" to query the language const. This also handles the case of not having a best guess and continue using the existing behavior.

Given
keyboard_layout = 1033 (0x0409), "keyboard-English - United States"
keyboard_layout = 66569 (0x00010409), "keyboard-English - United States (Best Guess)"
keyboard_layout = 12345 (0x3039), "keyboard-12345"
2023-01-20 08:29:55 -06:00
..
files Spelling fixes: scripts 2022-11-02 17:36:39 -04:00
frameworks Fix a docstring typo 2023-01-10 18:49:19 -08:00
misc annotate base scripts with &is_used as needed 2022-05-26 17:39:17 -07:00
packet-protocols gtpv1: Do not register for protocol detection 2022-08-26 10:47:38 +02:00
protocols Avoid excessive fmt calls, return default behavior on unknown 2023-01-20 08:29:55 -06:00
utils Spelling fixes: scripts 2022-11-02 17:36:39 -04:00
init-bare.zeek TimerMgr: Add back max_timer_expires=0 special case 2022-11-27 15:02:14 +01:00
init-default.zeek frameworks/dpd: Move to frameworks/analyzer/dpd, load by default 2022-08-31 16:50:47 +02:00
init-frameworks-and-bifs.zeek analyzer: Add analyzer.log for logging violations/confirmations 2023-01-09 18:11:49 +01:00
init-supervisor.zeek Establish a separate init script when using the supervisor 2021-07-08 13:12:53 -07:00