fixed esn type
This commit is contained in:
@@ -222,7 +222,7 @@ static void log_child_sa(FILE *out, child_sa_t *child_sa, bool all)
|
|||||||
{
|
{
|
||||||
u_int16_t encr_alg = ENCR_UNDEFINED, int_alg = AUTH_UNDEFINED;
|
u_int16_t encr_alg = ENCR_UNDEFINED, int_alg = AUTH_UNDEFINED;
|
||||||
u_int16_t encr_size = 0, int_size = 0;
|
u_int16_t encr_size = 0, int_size = 0;
|
||||||
bool esn = FALSE;
|
u_int16_t esn = NO_EXT_SEQ_NUMBERS;
|
||||||
|
|
||||||
proposal->get_algorithm(proposal, ENCRYPTION_ALGORITHM,
|
proposal->get_algorithm(proposal, ENCRYPTION_ALGORITHM,
|
||||||
&encr_alg, &encr_size);
|
&encr_alg, &encr_size);
|
||||||
@@ -247,7 +247,7 @@ static void log_child_sa(FILE *out, child_sa_t *child_sa, bool all)
|
|||||||
fprintf(out, "_%u", int_size);
|
fprintf(out, "_%u", int_size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (esn)
|
if (esn == EXT_SEQ_NUMBERS)
|
||||||
{
|
{
|
||||||
fprintf(out, "/ESN");
|
fprintf(out, "/ESN");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user