git: fa7de6dcb9b7 - main - ip_gre: Fix a common typo in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Thu, 19 Jan 2023 13:13:18 UTC
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=fa7de6dcb9b7314d4736f1fc21b3fdceefe34173

commit fa7de6dcb9b7314d4736f1fc21b3fdceefe34173
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-01-19 13:13:02 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-01-19 13:13:02 +0000

    ip_gre: Fix a common typo in source code comments
    
    - s/addres/address/
    
    MFC after:      3 days
---
 sys/netinet/ip_gre.c   | 2 +-
 sys/netinet6/ip6_gre.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/netinet/ip_gre.c b/sys/netinet/ip_gre.c
index 93261a094a36..12c13cbce2e7 100644
--- a/sys/netinet/ip_gre.c
+++ b/sys/netinet/ip_gre.c
@@ -258,7 +258,7 @@ in_gre_setup_socket(struct gre_softc *sc)
 	 * NOTE: we are protected with gre_ioctl_sx lock.
 	 *
 	 * First check that socket is already configured.
-	 * If so, check that source addres was not changed.
+	 * If so, check that source address was not changed.
 	 * If address is different, check that there are no other tunnels
 	 * and close socket.
 	 */
diff --git a/sys/netinet6/ip6_gre.c b/sys/netinet6/ip6_gre.c
index 9057a95e109b..2bae6d754a03 100644
--- a/sys/netinet6/ip6_gre.c
+++ b/sys/netinet6/ip6_gre.c
@@ -254,7 +254,7 @@ in6_gre_setup_socket(struct gre_softc *sc)
 	 * NOTE: we are protected with gre_ioctl_sx lock.
 	 *
 	 * First check that socket is already configured.
-	 * If so, check that source addres was not changed.
+	 * If so, check that source address was not changed.
 	 * If address is different, check that there are no other tunnels
 	 * and close socket.
 	 */