From: Martin Willi Date: Wed, 14 Dec 2011 18:45:30 +0000 (+0100) Subject: Show auth method of config we are looking for in main mode X-Git-Tag: 5.0.0~338^2~9^2~204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00d88232428c1b9eb06ef7abee030b7bd6abddb2;p=thirdparty%2Fstrongswan.git Show auth method of config we are looking for in main mode --- diff --git a/src/libcharon/sa/tasks/main_mode.c b/src/libcharon/sa/tasks/main_mode.c index f60bda768a..f2b16b1fd4 100644 --- a/src/libcharon/sa/tasks/main_mode.c +++ b/src/libcharon/sa/tasks/main_mode.c @@ -346,7 +346,8 @@ static peer_cfg_t *select_config(private_main_mode_t *this, identification_t *id me = this->ike_sa->get_my_host(this->ike_sa); other = this->ike_sa->get_other_host(this->ike_sa); - DBG1(DBG_CFG, "looking for peer configs matching %H...%H[%Y]", me, other, id); + DBG1(DBG_CFG, "looking for %N peer configs matching %H...%H[%Y]", + auth_method_names, this->auth_method, me, other, id); enumerator = charon->backends->create_peer_cfg_enumerator(charon->backends, me, other, NULL, id); while (enumerator->enumerate(enumerator, ¤t))