mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Bug fix for FTP analysis script.
This commit is contained in:
parent
8099640bc3
commit
be30dde827
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ event ftp_reply(c: connection, code: count, msg: string, cont_resp: bool) &prior
|
||||||
if ( code == 229 && data$h == 0.0.0.0 )
|
if ( code == 229 && data$h == 0.0.0.0 )
|
||||||
data$h = id$resp_h;
|
data$h = id$resp_h;
|
||||||
|
|
||||||
local expected = [$host=id$orig_h, $state=c$ftp];
|
local expected = [$host=id$orig_h, $state=copy(c$ftp)];
|
||||||
ftp_data_expected[data$h, data$p] = expected;
|
ftp_data_expected[data$h, data$p] = expected;
|
||||||
expect_connection(id$orig_h, data$h, data$p, ANALYZER_FILE, 5mins);
|
expect_connection(id$orig_h, data$h, data$p, ANALYZER_FILE, 5mins);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue