mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix indentation of scripts / tests
No functional changes
This commit is contained in:
parent
d42d467965
commit
359c7707e0
2 changed files with 5 additions and 5 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
|
@ -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; }
|
||||
]);
|
||||
$pred(typ: Input::Event, left: Idx, right: Val) = { right$notb = !right$b; return T; }
|
||||
]);
|
||||
}
|
||||
|
||||
event Input::end_of_data(name: string, source: string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue