diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-11-01 20:29:04 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-11-01 20:29:04 +0000 |
commit | 730e2c0542c0e18ddba895e46ff9ee76d6c458d4 (patch) | |
tree | 0a52edf152f4c8df15244f7fc2de38ee5ce0fedc /src | |
parent | efa0ed68cfca06ce884848633eef307a373cea9d (diff) | |
download | strongswan-730e2c0542c0e18ddba895e46ff9ee76d6c458d4.tar.bz2 strongswan-730e2c0542c0e18ddba895e46ff9ee76d6c458d4.tar.xz |
log IKE SPIs on a separate line
Diffstat (limited to 'src')
-rw-r--r-- | src/charon/sa/ike_sa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charon/sa/ike_sa.c b/src/charon/sa/ike_sa.c index 9eb25bfbd..a12cc2018 100644 --- a/src/charon/sa/ike_sa.c +++ b/src/charon/sa/ike_sa.c @@ -1891,10 +1891,10 @@ static int print(FILE *stream, const struct printf_info *info, return fprintf(stream, "(null)"); } - written = fprintf(stream, "%12s: %N, %H[%D]...%H[%D], IKE SPIs: %J", + written = fprintf(stream, "%12s: %N, %H[%D]...%H[%D]", this->name, ike_sa_state_names, this->state, - this->my_host, this->my_id, this->other_host, this->other_id, - this->ike_sa_id); + this->my_host, this->my_id, this->other_host, this->other_id); + written += fprintf(stream, "\n%12s: IKE SPIs: %J", this->name, this->ike_sa_id); if (info->alt) { |