Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2023 09:11:26 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 977add957e56 - stable/12 - ip_gre: Fix a common typo in source code comments
Message-ID:  <202301220911.30M9BQIO041766@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer):

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

commit 977add957e564697d81d77cdeb849bc9683f0399
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-01-19 13:13:02 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-01-22 09:10:13 +0000

    ip_gre: Fix a common typo in source code comments
    
    - s/addres/address/
    
    (cherry picked from commit fa7de6dcb9b7314d4736f1fc21b3fdceefe34173)
---
 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 60a2f7a734b3..7c862396b549 100644
--- a/sys/netinet/ip_gre.c
+++ b/sys/netinet/ip_gre.c
@@ -272,7 +272,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 09ad51f47a60..0c911250efba 100644
--- a/sys/netinet6/ip6_gre.c
+++ b/sys/netinet6/ip6_gre.c
@@ -269,7 +269,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?202301220911.30M9BQIO041766>