Undoing the FTP tests I updated earlier.

- Fixed the external tests btest config too.
This commit is contained in:
Seth Hall 2013-07-26 21:50:19 -04:00
parent fb029617a4
commit 1238e5bcf2
4 changed files with 16 additions and 10 deletions

View file

@ -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;