git: a9837d9a542f - stable/13 - ip_gre: Fix a common typo in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Jan 2023 09:08:23 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=a9837d9a542fa2c71e79267c787e12f96ccaa5ac
commit a9837d9a542fa2c71e79267c787e12f96ccaa5ac
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:08:15 +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 0afd490944a4..681cde0b903d 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 410d1bcf952c..554d56e71c1c 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.
*/