From 4b9b29d4b8a169ce68ece4fc293e5524ee8e9577 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 24 Sep 2015 14:47:33 +0200 Subject: [PATCH] all: Fix some typos in comments and printed strings All found using codespell. s/addres/address/ s/noone/no one/ s/endianess/endianness/ s/Successfull/Successful/ Signed-off-by: Tobias Klauser --- geoip.c | 2 +- proto_80211_mac_hdr.c | 2 +- proto_icmpv6.c | 2 +- proto_lldp.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/geoip.c b/geoip.c index 3def442b..78b20fef 100644 --- a/geoip.c +++ b/geoip.c @@ -342,7 +342,7 @@ static int fdout, fderr; /* GeoIP people were too stupid to come to the idea that you could set * errno appropriately and return NULL instead of printing stuff from - * the library directly that noone can turn off. + * the library directly that no one can turn off. */ static void geoip_open_prepare(void) diff --git a/proto_80211_mac_hdr.c b/proto_80211_mac_hdr.c index afaabf87..c7b5b15c 100644 --- a/proto_80211_mac_hdr.c +++ b/proto_80211_mac_hdr.c @@ -7,7 +7,7 @@ /* TODO * check all possible frame combinations for their behavior - * with respect to endianess (little / big) + * with respect to endianness (little / big) */ #include diff --git a/proto_icmpv6.c b/proto_icmpv6.c index 26090187..b5eee920 100644 --- a/proto_icmpv6.c +++ b/proto_icmpv6.c @@ -1279,7 +1279,7 @@ static int8_t dissect_icmpv6_type139(struct pkt_buff *pkt) } static char *icmpv6_type_140_codes[] = { - "Successfull reply", + "Successful reply", "Responder refuses answer", "Qtype is unknown to the Responder", }; diff --git a/proto_lldp.c b/proto_lldp.c index 93012819..86d6bc86 100644 --- a/proto_lldp.c +++ b/proto_lldp.c @@ -69,7 +69,7 @@ #define LLDP_SYSTEM_CAP_STATION_ONLY (1 << 7) /* - * Interface number subtypes (for Management addres TLV) + * Interface number subtypes (for Management address TLV) */ #define LLDP_IFACE_NUM_SUBTYPE_UNKNOWN 1 #define LLDP_IFACE_NUM_SUBTYPE_IF_INDEX 2 -- 2.11.4.GIT