Log selected peer config during Main Mode.
authorTobias Brunner <tobias@strongswan.org>
Tue, 13 Dec 2011 12:09:56 +0000 (13:09 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 20 Mar 2012 16:31:20 +0000 (17:31 +0100)
src/libcharon/sa/tasks/main_mode.c

index 5e18bb7..b15ed33 100755 (executable)
@@ -341,6 +341,10 @@ static peer_cfg_t *select_config(private_main_mode_t *this, identification_t *id
        }
        enumerator->destroy(enumerator);
 
+       if (found)
+       {
+               DBG2(DBG_CFG, "selected peer config \"%s\"", found->get_name(found));
+       }
        return found;
 }