]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 5e18bb7c6cb23953003a08fa563ca63c4444e05b..b15ed3307dcdaf0a366a991a01abe8efa4308979 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;
 }