From 359c7707e0a8088c6111f1391ccc4c9939c18efe Mon Sep 17 00:00:00 2001 From: Johanna Amann Date: Thu, 3 Jul 2025 11:41:40 +0100 Subject: [PATCH] Fix indentation of scripts / tests No functional changes --- scripts/policy/protocols/dhcp/software.zeek | 2 +- testing/btest/scripts/base/frameworks/input/optional.zeek | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/policy/protocols/dhcp/software.zeek b/scripts/policy/protocols/dhcp/software.zeek index c2c9547207..cd4a68eb68 100644 --- a/scripts/policy/protocols/dhcp/software.zeek +++ b/scripts/policy/protocols/dhcp/software.zeek @@ -46,7 +46,7 @@ event DHCP::log_dhcp(rec: DHCP::Info) $orig_p=rec$client_port, $resp_h=rec$server_addr, $resp_p=rec$server_port, - $proto=17]; # DHCP is typically UDP + $proto=17]; # DHCP is typically UDP if ( rec?$client_software && rec$assigned_addr != 255.255.255.255 ) { diff --git a/testing/btest/scripts/base/frameworks/input/optional.zeek b/testing/btest/scripts/base/frameworks/input/optional.zeek index 5a1b94529a..c80deebc4e 100644 --- a/testing/btest/scripts/base/frameworks/input/optional.zeek +++ b/testing/btest/scripts/base/frameworks/input/optional.zeek @@ -37,11 +37,11 @@ global servers: table[int] of Val = table(); event zeek_init() { - outfile = open("../out"); + outfile = open("../out"); # first read in the old stuff into the table... - Input::add_table([$source="../input.log", $name="input", $idx=Idx, $val=Val, $destination=servers, - $pred(typ: Input::Event, left: Idx, right: Val) = { right$notb = !right$b; return T; } - ]); + Input::add_table([$source="../input.log", $name="input", $idx=Idx, $val=Val, $destination=servers, + $pred(typ: Input::Event, left: Idx, right: Val) = { right$notb = !right$b; return T; } + ]); } event Input::end_of_data(name: string, source: string)