]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Show auth method of config we are looking for in main mode
authorMartin Willi <martin@revosec.ch>
Wed, 14 Dec 2011 18:45:30 +0000 (19:45 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:31:22 +0000 (17:31 +0100)
src/libcharon/sa/tasks/main_mode.c

index f60bda768a2ed452ad3977642eb5b5bdda1ea83b..f2b16b1fd492961920b29c2911e41c92ba02a6f3 100644 (file)
@@ -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, &current))