From 8d7ca1360f48b0f6a36aedbd121a263ff1f00c8f Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Wed, 30 Nov 2011 13:56:30 -0600 Subject: [PATCH] Fix error emitted when loading local.bro in bare mode Regarding the redef of SMTP::entity_excerpt_len without having been previously defined. --- scripts/site/local.bro | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/site/local.bro b/scripts/site/local.bro index 597b92ba3d..7546a52b4b 100644 --- a/scripts/site/local.bro +++ b/scripts/site/local.bro @@ -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 # some file types. The numbers given indicate how many bytes to extract for # the various mime types. +@load base/protocols/smtp/entities-excerpt redef SMTP::entity_excerpt_len += { # ["text/plain"] = 1024, # ["text/html"] = 1024,