Fix error emitted when loading local.bro in bare mode

Regarding the redef of SMTP::entity_excerpt_len without having
been previously defined.
This commit is contained in:
Jon Siwek 2011-11-30 13:56:30 -06:00
parent 70004cb04d
commit 8d7ca1360f

View file

@ -66,6 +66,7 @@ redef signature_files += "frameworks/signatures/detect-windows-shells.sig";
# Uncomment this redef if you want to extract SMTP MIME entities for # Uncomment this redef if you want to extract SMTP MIME entities for
# some file types. The numbers given indicate how many bytes to extract for # some file types. The numbers given indicate how many bytes to extract for
# the various mime types. # the various mime types.
@load base/protocols/smtp/entities-excerpt
redef SMTP::entity_excerpt_len += { redef SMTP::entity_excerpt_len += {
# ["text/plain"] = 1024, # ["text/plain"] = 1024,
# ["text/html"] = 1024, # ["text/html"] = 1024,