mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
removing unused assignments from base scripts
This commit is contained in:
parent
94b85e3527
commit
4f2b138e72
3 changed files with 0 additions and 4 deletions
|
@ -361,7 +361,6 @@ event OpenFlow::flow_mod_success(name: string, match: OpenFlow::ofp_match, flow_
|
||||||
|
|
||||||
local r = of_messages[id,flow_mod$command]$r;
|
local r = of_messages[id,flow_mod$command]$r;
|
||||||
local p = of_messages[id,flow_mod$command]$p;
|
local p = of_messages[id,flow_mod$command]$p;
|
||||||
local c = of_messages[id,flow_mod$command]$c;
|
|
||||||
|
|
||||||
if ( r$entity$ty == ADDRESS || r$entity$ty == MAC )
|
if ( r$entity$ty == ADDRESS || r$entity$ty == MAC )
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,7 +23,6 @@ event smb1_message(c: connection, hdr: SMB1::Header, is_orig: bool) &priority=5
|
||||||
local smb_state = c$smb_state;
|
local smb_state = c$smb_state;
|
||||||
local tid = hdr$tid;
|
local tid = hdr$tid;
|
||||||
local uid = hdr$uid;
|
local uid = hdr$uid;
|
||||||
local pid = hdr$pid;
|
|
||||||
local mid = hdr$mid;
|
local mid = hdr$mid;
|
||||||
|
|
||||||
if ( uid in smb_state$uid_map )
|
if ( uid in smb_state$uid_map )
|
||||||
|
|
|
@ -22,9 +22,7 @@ event smb2_message(c: connection, hdr: SMB2::Header, is_orig: bool) &priority=5
|
||||||
|
|
||||||
local smb_state = c$smb_state;
|
local smb_state = c$smb_state;
|
||||||
local tid = hdr$tree_id;
|
local tid = hdr$tree_id;
|
||||||
local pid = hdr$process_id;
|
|
||||||
local mid = hdr$message_id;
|
local mid = hdr$message_id;
|
||||||
local sid = hdr$session_id;
|
|
||||||
|
|
||||||
if ( mid !in smb_state$pending_cmds )
|
if ( mid !in smb_state$pending_cmds )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue