From 107f7181619de078bc4b80a9b7ae11f5f041bf87 Mon Sep 17 00:00:00 2001 From: Pavel Odintsov Date: Mon, 23 Dec 2024 13:16:18 +0300 Subject: [PATCH] =?UTF-8?q?Typos=20reported=20by=20Patrick=20Matth=C3=A4i?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bgp_protocol.hpp | 2 +- src/gobgp_client/gobgp_client.cpp | 2 +- src/netflow_plugin/ipfix_collector.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bgp_protocol.hpp b/src/bgp_protocol.hpp index b243a9ea..a3c57f3b 100644 --- a/src/bgp_protocol.hpp +++ b/src/bgp_protocol.hpp @@ -626,7 +626,7 @@ class IPv4UnicastAnnounce { // Append segment header as_path_as_binary_array.append_data_as_object_ptr(&bgp_as_path_segment_element); - logger << log4cpp::Priority::DEBUG << "AS_PATH ASN numner: " << this->as_path_asns.size(); + logger << log4cpp::Priority::DEBUG << "AS_PATH ASN number: " << this->as_path_asns.size(); for (auto asn : this->as_path_asns) { // Append all ASNs in big endian encoding diff --git a/src/gobgp_client/gobgp_client.cpp b/src/gobgp_client/gobgp_client.cpp index 0a0ba75e..b2b91ed9 100644 --- a/src/gobgp_client/gobgp_client.cpp +++ b/src/gobgp_client/gobgp_client.cpp @@ -234,7 +234,7 @@ bool GrpcClient::AnnounceUnicastPrefixLowLevelIPv6(const IPv6UnicastAnnounce& un // Append segment header as_path_as_binary_array.append_data_as_object_ptr(&bgp_as_path_segment_element); - logger << log4cpp::Priority::DEBUG << "AS_PATH ASN numner: " << unicast_ipv6_announce.as_path_asns.size(); + logger << log4cpp::Priority::DEBUG << "AS_PATH ASN number: " << unicast_ipv6_announce.as_path_asns.size(); for (auto asn : unicast_ipv6_announce.as_path_asns) { // Append all ASNs in big endian encoding diff --git a/src/netflow_plugin/ipfix_collector.cpp b/src/netflow_plugin/ipfix_collector.cpp index 65f92833..3075ba21 100644 --- a/src/netflow_plugin/ipfix_collector.cpp +++ b/src/netflow_plugin/ipfix_collector.cpp @@ -1672,7 +1672,7 @@ bool process_ipfix_packet(const uint8_t* packet, const ipfix_header_t* ipfix_header = (const ipfix_header_t*)packet; if (udp_packet_length < sizeof(ipfix_header_t)) { - logger << log4cpp::Priority::ERROR << "Packet is too short to accomodate IPFIX header " << udp_packet_length + logger << log4cpp::Priority::ERROR << "Packet is too short to accommodate IPFIX header " << udp_packet_length << " bytes which requires at least " << sizeof(ipfix_header_t) << " bytes"; return false; }