From e0805498c6fd491bf56d51a4b3533c51c607d060 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Thu, 15 Nov 2012 16:40:18 -0600 Subject: [PATCH] Fix some warnings from sphinx when building docs. --- scripts/base/frameworks/intel/main.bro | 4 ++-- scripts/policy/integration/collective-intel/README | 10 ++++------ scripts/policy/protocols/modbus/track-memmap.bro | 3 ++- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/scripts/base/frameworks/intel/main.bro b/scripts/base/frameworks/intel/main.bro index d66990e611..aeb7bf4bfc 100644 --- a/scripts/base/frameworks/intel/main.bro +++ b/scripts/base/frameworks/intel/main.bro @@ -59,7 +59,7 @@ export { }; ## Enum to represent where data came from when it was discovered. - ## The convenction is to prefix the name with "IN_". + ## The convention is to prefix the name with ``IN_``. type Where: enum { ## A catchall value to represent data of unknown provenance. IN_ANYWHERE, @@ -342,4 +342,4 @@ function insert(item: Item) else event Intel::new_item(item); } - \ No newline at end of file + diff --git a/scripts/policy/integration/collective-intel/README b/scripts/policy/integration/collective-intel/README index 550eb96962..17d534c8dd 100644 --- a/scripts/policy/integration/collective-intel/README +++ b/scripts/policy/integration/collective-intel/README @@ -1,6 +1,4 @@ -Collective Intelligence Framework Integration -============================================= - -The scripts in this module are for deeper integration with the Collective Intelligence -Framework (CIF) since Bro's Intel framework doesn't natively behave the same as CIF nor -does it store and maintain the same data in all cases. \ No newline at end of file +The scripts in this module are for deeper integration with the +Collective Intelligence Framework (CIF) since Bro's Intel framework +doesn't natively behave the same as CIF nor does it store and maintain +the same data in all cases. diff --git a/scripts/policy/protocols/modbus/track-memmap.bro b/scripts/policy/protocols/modbus/track-memmap.bro index fc02d9b274..e2001e66bf 100644 --- a/scripts/policy/protocols/modbus/track-memmap.bro +++ b/scripts/policy/protocols/modbus/track-memmap.bro @@ -2,11 +2,12 @@ ##! changes as they are discovered. ##! ##! .. todo: Not all register reads and write functions are being supported yet. -module Modbus; @load base/protocols/modbus @load base/utils/directions-and-hosts +module Modbus; + export { redef enum Log::ID += { Modbus::REGISTER_CHANGE_LOG };