From 00d88232428c1b9eb06ef7abee030b7bd6abddb2 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 14 Dec 2011 19:45:30 +0100 Subject: [PATCH] Show auth method of config we are looking for in main mode --- src/libcharon/sa/tasks/main_mode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libcharon/sa/tasks/main_mode.c b/src/libcharon/sa/tasks/main_mode.c index f60bda768..f2b16b1fd 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))