From f21f45ac1a6ac9e0967d9d8e679445604beec017 Mon Sep 17 00:00:00 2001 From: Daniel Thayer Date: Thu, 10 Oct 2013 14:39:44 -0500 Subject: [PATCH] Fix typos and formatting in the cluster framework docs Changed a Time Machine link to point to something useful. --- scripts/base/frameworks/cluster/main.bro | 9 +++++---- scripts/base/frameworks/cluster/nodes/worker.bro | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/base/frameworks/cluster/main.bro b/scripts/base/frameworks/cluster/main.bro index 4184ad6ded..0ff0f47fa7 100644 --- a/scripts/base/frameworks/cluster/main.bro +++ b/scripts/base/frameworks/cluster/main.bro @@ -39,7 +39,8 @@ export { ## The node type doing all the actual traffic analysis. WORKER, ## A node acting as a traffic recorder using the - ## `Time Machine `_ software. + ## `Time Machine `_ + ## software. TIME_MACHINE, }; @@ -58,7 +59,7 @@ export { ## Events raised by workers and handled by a manager. const worker2manager_events = /(TimeMachine::command|Drop::.*)/ &redef; - ## Events raised by workers and handled by proxies.. + ## Events raised by workers and handled by proxies. const worker2proxy_events = /EMPTY/ &redef; ## Events raised by TimeMachine instances and handled by a manager. @@ -73,14 +74,14 @@ export { ## Record type to indicate a node in a cluster. type Node: record { - ## Identifies the type of cluster node in this node's configuration. + ## Identifies the type of cluster node in this node's configuration. node_type: NodeType; ## The IP address of the cluster node. ip: addr; ## If the *ip* field is a non-global IPv6 address, this field ## can specify a particular :rfc:`4007` ``zone_id``. zone_id: string &default=""; - ## The port to which the this local node can connect when + ## The port to which this local node can connect when ## establishing communication. p: port; ## Identifier for the interface a worker is sniffing. diff --git a/scripts/base/frameworks/cluster/nodes/worker.bro b/scripts/base/frameworks/cluster/nodes/worker.bro index 61d5228c88..f876f8592e 100644 --- a/scripts/base/frameworks/cluster/nodes/worker.bro +++ b/scripts/base/frameworks/cluster/nodes/worker.bro @@ -19,6 +19,6 @@ redef Log::default_rotation_postprocessor_cmd = "delete-log"; ## Record all packets into trace file. ## ## Note that this only indicates that *if* we are recording packets, we want all -## of them (rather than just those the core deems sufficiently important). Setting -## this does not turn recording on. Use '-w ' for that. +## of them (rather than just those the core deems sufficiently important). +## Setting this does not turn recording on. Use '-w ' for that. redef record_all_packets = T;