From d143e7b04befe75f1688029f28f8189eacf7f648 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 23 Mar 2015 10:12:06 +0100 Subject: [PATCH] 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. --- src/swanctl/commands/list_sas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");