summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-09-24 14:47:33 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-09-24 14:52:30 +0200
commit4b9b29d4b8a169ce68ece4fc293e5524ee8e9577 (patch)
treedb70468c5cc648ee06e3a0552b42270efe62216f
parentb3a9f17eb9c7a47e6c4aee3649179b2a54d17eca (diff)
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 <tklauser@distanz.ch>
-rw-r--r--geoip.c2
-rw-r--r--proto_80211_mac_hdr.c2
-rw-r--r--proto_icmpv6.c2
-rw-r--r--proto_lldp.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/geoip.c b/geoip.c
index 3def442..78b20fe 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 afaabf8..c7b5b15 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 <inttypes.h>
diff --git a/proto_icmpv6.c b/proto_icmpv6.c
index 2609018..b5eee92 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 9301281..86d6bc8 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