diff mbox series

sysdeps: Correct spelling in <unix/sysv/linux/net/ethernet.h>

Message ID 72aa9faf-2851-07bb-c0b4-5eeffc954706@jguk.org
State Committed
Delegated to: Arjun Shankar
Headers show
Series sysdeps: Correct spelling in <unix/sysv/linux/net/ethernet.h> | expand

Commit Message

Jonny Grant Oct. 28, 2020, 11:07 p.m. UTC
Hello

Please find attached patch created against latest git.

Regards, Jonny
diff mbox series

Patch

From d0350eba94fbf77741ad629a400e6bcf23c7f7a1 Mon Sep 17 00:00:00 2001
From: Jonny Grant <jg@jguk.org>
Date: Wed, 28 Oct 2020 23:05:48 +0000
Subject: [PATCH] Correct 'ethenet' spelling

Signed-off-by: Jonny Grant <jg@jguk.org>
---
 sysdeps/unix/sysv/linux/net/ethernet.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sysdeps/unix/sysv/linux/net/ethernet.h b/sysdeps/unix/sysv/linux/net/ethernet.h
index f98c27c028..7ec796155a 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)
 
-- 
2.25.1