Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2023 13:13:18 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fa7de6dcb9b7 - main - ip_gre: Fix a common typo in source code comments
Message-ID:  <202301191313.30JDDICM025372@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
 	 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301191313.30JDDICM025372>