mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Undoing the FTP tests I updated earlier.
- Fixed the external tests btest config too.
This commit is contained in:
parent
fb029617a4
commit
1238e5bcf2
4 changed files with 16 additions and 10 deletions
|
@ -102,6 +102,8 @@ export {
|
|||
global log_ftp: event(rec: Info);
|
||||
}
|
||||
|
||||
@load ./utils
|
||||
|
||||
# Add the state tracking information variable to the connection record
|
||||
redef record connection += {
|
||||
ftp: Info &optional;
|
||||
|
@ -171,7 +173,11 @@ function ftp_message(s: Info)
|
|||
{
|
||||
s$ts=s$cmdarg$ts;
|
||||
s$command=s$cmdarg$cmd;
|
||||
s$arg=s$cmdarg$arg;
|
||||
|
||||
s$arg = s$cmdarg$arg;
|
||||
if ( s$cmdarg$cmd in file_cmds )
|
||||
s$arg = build_url_ftp(s);
|
||||
|
||||
if ( s$arg == "" )
|
||||
delete s$arg;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue