diff --git a/doc/logs/index.rst b/doc/logs/index.rst index a8fb951c80..b6b0b084ec 100644 --- a/doc/logs/index.rst +++ b/doc/logs/index.rst @@ -113,7 +113,7 @@ default, including: As you can see, some log files are specific to a particular protocol, while others aggregate information across different types of activity. For a complete list of log files and a description of its purpose, -see :doc:`List of Log Files <../script-reference/list-of-log-files>`. +see :doc:`Log Files <../script-reference/log-files>`. .. _bro-cut: diff --git a/src/bro.bif b/src/bro.bif index 83ad49689b..4e685eb84a 100644 --- a/src/bro.bif +++ b/src/bro.bif @@ -2163,8 +2163,7 @@ function counts_to_addr%(v: index_vec%): addr ## ## e: The :bro:type:`enum` to convert. ## -## Returns: The :bro:type:`enum` as the :bro:type:`int` value that it -## to corresponds. +## Returns: The :bro:type:`int` value that corresponds to the :bro:type:`enum`. function enum_to_int%(e: any%): int %{ if ( e->Type()->Tag() != TYPE_ENUM ) diff --git a/testing/btest/doc/sphinx/include-doc_scripting_data_struct_vector_declaration_bro.btest b/testing/btest/doc/sphinx/include-doc_scripting_data_struct_vector_declaration_bro.btest index 575b5a18b4..4f1260e4ed 100644 --- a/testing/btest/doc/sphinx/include-doc_scripting_data_struct_vector_declaration_bro.btest +++ b/testing/btest/doc/sphinx/include-doc_scripting_data_struct_vector_declaration_bro.btest @@ -14,6 +14,6 @@ event bro_init() print fmt("contents of v1: %s", v1); print fmt("length of v1: %d", |v1|); - print fmt("contents of v1: %s", v2); + print fmt("contents of v2: %s", v2); print fmt("length of v2: %d", |v2|); } diff --git a/testing/btest/doc/sphinx/include-doc_scripting_data_type_pattern_01_bro.btest b/testing/btest/doc/sphinx/include-doc_scripting_data_type_pattern_01_bro.btest index f108efb795..cca008116e 100644 --- a/testing/btest/doc/sphinx/include-doc_scripting_data_type_pattern_01_bro.btest +++ b/testing/btest/doc/sphinx/include-doc_scripting_data_type_pattern_01_bro.btest @@ -4,7 +4,7 @@ data_type_pattern_01.bro event bro_init() { - local test_string = "The quick brown fox jumped over the lazy dog."; + local test_string = "The quick brown fox jumps over the lazy dog."; local test_pattern = /quick|lazy/; if ( test_pattern in test_string )