From b0655823192e2191ca2ca14ec49e94e416bebe5d Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Wed, 24 Feb 2021 16:33:17 -0800 Subject: [PATCH] fix mis-typed record fields that happened to work in original RecordVal impl. --- scripts/base/init-bare.zeek | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/base/init-bare.zeek b/scripts/base/init-bare.zeek index 0d80b9a81b..d57786c74a 100644 --- a/scripts/base/init-bare.zeek +++ b/scripts/base/init-bare.zeek @@ -3334,7 +3334,7 @@ export { ## The security mode field specifies whether SMB signing is enabled, required at the server, or both. security_mode : count; ## A globally unique identifier that is generate by the server to uniquely identify the server. - server_guid : string; + server_guid : SMB2::GUID; ## The system time of the SMB2 server when the SMB2 NEGOTIATE Request was processed. system_time : time; ## The SMB2 server start time. @@ -3710,7 +3710,7 @@ type dns_edns_ecs: record { family: string; ##< IP Family source_prefix_len: count; ##< Source Prefix Length. scope_prefix_len: count; ##< Scope Prefix Length. - address: string; ##< Client Subnet Address. + address: addr; ##< Client Subnet Address. }; ## An DNS EDNS TCP KEEPALIVE (TCP KEEPALIVE) record. @@ -4354,7 +4354,7 @@ export { keyboard_function_key: count; ime_file_name: string; post_beta2_color_depth: count &optional; - client_product_id: string &optional; + client_product_id: count &optional; serial_number: count &optional; high_color_depth: count &optional; supported_color_depths: count &optional;