fixed esn type
This commit is contained in:
parent
9c67f5ff54
commit
d33f6f7dba
|
@ -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_size = 0, int_size = 0;
|
||||
bool esn = FALSE;
|
||||
u_int16_t esn = NO_EXT_SEQ_NUMBERS;
|
||||
|
||||
proposal->get_algorithm(proposal, ENCRYPTION_ALGORITHM,
|
||||
&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);
|
||||
}
|
||||
}
|
||||
if (esn)
|
||||
if (esn == EXT_SEQ_NUMBERS)
|
||||
{
|
||||
fprintf(out, "/ESN");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue