mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2025-05-15 04:07:33 +02:00
Typos reported by Patrick Matthäi
This commit is contained in:
parent
28cf1652e2
commit
107f718161
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user