[Bro] log_file variable in ftp.bro

Vern Paxson vern at icir.org
Thu Sep 23 07:14:48 PDT 2004


> the log_file is defined in ftp.bro on line 54 as following:
> ...............
> global log_file = open_log_file("ftp") &redef;

Yes, but that's part of an "export" that's inside "scope FTP".  So you
need to use:

	global FTP::log_file = open_log_file("ftp") &redef;

to redef it.

		Vern



More information about the Bro mailing list