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.
This commit is contained in:
Martin Willi
2015-03-23 10:15:07 +01:00
parent e284a861b8
commit d143e7b04b
+1 -1
View File
@@ -122,7 +122,7 @@ CALLBACK(child_sas, int,
}
if (child->get(child, "esn"))
{
printf("/%s", child->get(child, "esn"));
printf("/ESN");
}
printf("\n");