Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2019 21:59:29 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354572 - head/lib/libipsec
Message-ID:  <201911092159.xA9LxTVF051745@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Sat Nov  9 21:59:29 2019
New Revision: 354572
URL: https://svnweb.freebsd.org/changeset/base/354572

Log:
  libipsec: correct a typo
  
  Correct a typo in the ipsec_errlist and replicated in a comment.
  No functional changes.
  
  MFC after:	3 weeks

Modified:
  head/lib/libipsec/ipsec_strerror.c
  head/lib/libipsec/ipsec_strerror.h

Modified: head/lib/libipsec/ipsec_strerror.c
==============================================================================
--- head/lib/libipsec/ipsec_strerror.c	Sat Nov  9 17:30:19 2019	(r354571)
+++ head/lib/libipsec/ipsec_strerror.c	Sat Nov  9 21:59:29 2019	(r354572)
@@ -62,7 +62,7 @@ static const char *ipsec_errlist[] = {
 "Invalid key length",				/*EIPSEC_INVAL_KEYLEN*/
 "Invalid address family",			/*EIPSEC_INVAL_FAMILY*/
 "Invalid prefix length",			/*EIPSEC_INVAL_PREFIXLEN*/
-"Invalid direciton",				/*EIPSEC_INVAL_DIR*/
+"Invalid direction",				/*EIPSEC_INVAL_DIR*/
 "SPI range violation",				/*EIPSEC_INVAL_SPI*/
 "No protocol specified",			/*EIPSEC_NO_PROTO*/
 "No algorithm specified",			/*EIPSEC_NO_ALGS*/

Modified: head/lib/libipsec/ipsec_strerror.h
==============================================================================
--- head/lib/libipsec/ipsec_strerror.h	Sat Nov  9 17:30:19 2019	(r354571)
+++ head/lib/libipsec/ipsec_strerror.h	Sat Nov  9 21:59:29 2019	(r354572)
@@ -52,7 +52,7 @@ extern void __ipsec_set_strerror(const char *);
 #define EIPSEC_INVAL_KEYLEN	14	/*invalid key length*/
 #define EIPSEC_INVAL_FAMILY	15	/*invalid address family*/
 #define EIPSEC_INVAL_PREFIXLEN	16	/*SPI range violation*/
-#define EIPSEC_INVAL_DIR	17	/*Invalid direciton*/
+#define EIPSEC_INVAL_DIR	17	/*Invalid direction*/
 #define EIPSEC_INVAL_SPI	18	/*invalid prefixlen*/
 #define EIPSEC_NO_PROTO		19	/*no protocol specified*/
 #define EIPSEC_NO_ALGS		20	/*No algorithm specified*/



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