mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Fix scripting error in an ftp btest
This commit is contained in:
parent
aa0b521597
commit
10473d58a9
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@
|
||||||
# Make sure we're tracking the CWD correctly.
|
# Make sure we're tracking the CWD correctly.
|
||||||
event ftp_reply(c: connection, code: count, msg: string, cont_resp: bool) &priority=10
|
event ftp_reply(c: connection, code: count, msg: string, cont_resp: bool) &priority=10
|
||||||
{
|
{
|
||||||
|
if ( ! c?$ftp )
|
||||||
|
return;
|
||||||
|
|
||||||
print "CWD", c$ftp$cwd;
|
print "CWD", c$ftp$cwd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue