aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorJonny Grant <jg@jguk.org>2020-12-12 01:16:22 +0100
committerArjun Shankar <arjun@redhat.com>2020-12-12 01:16:56 +0100
commit2ea6af7447f5f254450038870628dc50b8cf11ed (patch)
tree779e2c389232ecf3d3b80a7da5f7c91faecbb55a /sysdeps/unix
parent0e00b35704e67c499c3abfbd5b6224a13d38b012 (diff)
downloadglibc-2ea6af7447f5f254450038870628dc50b8cf11ed.zip
glibc-2ea6af7447f5f254450038870628dc50b8cf11ed.tar.gz
glibc-2ea6af7447f5f254450038870628dc50b8cf11ed.tar.bz2
Fix spelling and grammar in several comments
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/net/ethernet.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/net/ethernet.h b/sysdeps/unix/sysv/linux/net/ethernet.h
index f98c27c..7ec7961 100644
--- a/sysdeps/unix/sysv/linux/net/ethernet.h
+++ b/sysdeps/unix/sysv/linux/net/ethernet.h
@@ -56,7 +56,6 @@ struct ether_header
#define ETHERTYPE_IPV6 0x86dd /* IP protocol version 6 */
#define ETHERTYPE_LOOPBACK 0x9000 /* used to test interfaces */
-
#define ETHER_ADDR_LEN ETH_ALEN /* size of ethernet addr */
#define ETHER_TYPE_LEN 2 /* bytes in type field */
#define ETHER_CRC_LEN 4 /* bytes in CRC field */
@@ -64,7 +63,7 @@ struct ether_header
#define ETHER_MIN_LEN (ETH_ZLEN + ETHER_CRC_LEN) /* min packet length */
#define ETHER_MAX_LEN (ETH_FRAME_LEN + ETHER_CRC_LEN) /* max packet length */
-/* make sure ethenet length is valid */
+/* make sure ethernet length is valid */
#define ETHER_IS_VALID_LEN(foo) \
((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN)