libipsec: correct a typo
Correct a typo in the ipsec_errlist and replicated in a comment. No functional changes. MFC after: 3 weeks
This commit is contained in:
parent
b5961be1ab
commit
1802a6b5b8
@ -62,7 +62,7 @@ static const char *ipsec_errlist[] = {
|
|||||||
"Invalid key length", /*EIPSEC_INVAL_KEYLEN*/
|
"Invalid key length", /*EIPSEC_INVAL_KEYLEN*/
|
||||||
"Invalid address family", /*EIPSEC_INVAL_FAMILY*/
|
"Invalid address family", /*EIPSEC_INVAL_FAMILY*/
|
||||||
"Invalid prefix length", /*EIPSEC_INVAL_PREFIXLEN*/
|
"Invalid prefix length", /*EIPSEC_INVAL_PREFIXLEN*/
|
||||||
"Invalid direciton", /*EIPSEC_INVAL_DIR*/
|
"Invalid direction", /*EIPSEC_INVAL_DIR*/
|
||||||
"SPI range violation", /*EIPSEC_INVAL_SPI*/
|
"SPI range violation", /*EIPSEC_INVAL_SPI*/
|
||||||
"No protocol specified", /*EIPSEC_NO_PROTO*/
|
"No protocol specified", /*EIPSEC_NO_PROTO*/
|
||||||
"No algorithm specified", /*EIPSEC_NO_ALGS*/
|
"No algorithm specified", /*EIPSEC_NO_ALGS*/
|
||||||
|
@ -52,7 +52,7 @@ extern void __ipsec_set_strerror(const char *);
|
|||||||
#define EIPSEC_INVAL_KEYLEN 14 /*invalid key length*/
|
#define EIPSEC_INVAL_KEYLEN 14 /*invalid key length*/
|
||||||
#define EIPSEC_INVAL_FAMILY 15 /*invalid address family*/
|
#define EIPSEC_INVAL_FAMILY 15 /*invalid address family*/
|
||||||
#define EIPSEC_INVAL_PREFIXLEN 16 /*SPI range violation*/
|
#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_INVAL_SPI 18 /*invalid prefixlen*/
|
||||||
#define EIPSEC_NO_PROTO 19 /*no protocol specified*/
|
#define EIPSEC_NO_PROTO 19 /*no protocol specified*/
|
||||||
#define EIPSEC_NO_ALGS 20 /*No algorithm specified*/
|
#define EIPSEC_NO_ALGS 20 /*No algorithm specified*/
|
||||||
|
Loading…
Reference in New Issue
Block a user