aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2015-03-23 10:12:06 +0100
committerMartin Willi <martin@revosec.ch>2015-03-23 10:15:07 +0100
commitd143e7b04befe75f1688029f28f8189eacf7f648 (patch)
tree6b1c23289f85e764e74d1db9f9437fd82823bbc4 /src
parente284a861b85c20fa84e59cc76a9095c8ff18959a (diff)
downloadstrongswan-d143e7b04befe75f1688029f28f8189eacf7f648.tar.bz2
strongswan-d143e7b04befe75f1688029f28f8189eacf7f648.tar.xz
swanctl: Append /ESN to proposal for a CHILD_SA using Extended Sequence Numbers
We previously printed just the value for the "esn" keyword, which is "1", and not helpful as such. Fixes #904.
Diffstat (limited to 'src')
-rw-r--r--src/swanctl/commands/list_sas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swanctl/commands/list_sas.c b/src/swanctl/commands/list_sas.c
index 55297cff3..81e1b7cca 100644
--- a/src/swanctl/commands/list_sas.c
+++ b/src/swanctl/commands/list_sas.c
@@ -122,7 +122,7 @@ CALLBACK(child_sas, int,
}
if (child->get(child, "esn"))
{
- printf("/%s", child->get(child, "esn"));
+ printf("/ESN");
}
printf("\n");