aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-07-20 23:11:19 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-07-20 23:11:19 +0200
commitd33f6f7dba24a0cf9d34f93d0d79543d41abb72a (patch)
tree2dd59e6abb54b7f2250fc8668afb7170385a11f8 /src/libcharon/plugins
parent9c67f5ff54513d88e026d6f62304a85cffefe9a1 (diff)
downloadstrongswan-d33f6f7dba24a0cf9d34f93d0d79543d41abb72a.tar.bz2
strongswan-d33f6f7dba24a0cf9d34f93d0d79543d41abb72a.tar.xz
fixed esn type
Diffstat (limited to 'src/libcharon/plugins')
-rw-r--r--src/libcharon/plugins/stroke/stroke_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_list.c b/src/libcharon/plugins/stroke/stroke_list.c
index e955f9c66..cbe10e152 100644
--- a/src/libcharon/plugins/stroke/stroke_list.c
+++ b/src/libcharon/plugins/stroke/stroke_list.c
@@ -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");
}