support for transport in create_child_sa

include TRANSPORT/TUNNEL information in statusall
This commit is contained in:
Martin Willi
2007-01-08 06:55:50 +00:00
parent 09ff411061
commit 21f42524e0
4 changed files with 26 additions and 8 deletions
+3 -2
View File
@@ -780,8 +780,9 @@ static int print(FILE *stream, const struct printf_info *info,
now = (u_int32_t)time(NULL);
written += fprintf(stream, "%12s: %N, reqid: %d", this->name,
child_sa_state_names, this->state, this->reqid);
written += fprintf(stream, "%12s: %N, reqid: %d, %N", this->name,
child_sa_state_names, this->state, this->reqid,
mode_names, this->mode);
if (this->state == CHILD_INSTALLED)
{