From: Andreas Steffen Date: Wed, 10 Nov 2010 20:30:50 +0000 (+0100) Subject: display ID of registered IMCs/IMVs X-Git-Tag: 4.5.1~530 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7fe3fe2c38ea9bb7807de2f190ee26bcff117a6;p=thirdparty%2Fstrongswan.git display ID of registered IMCs/IMVs --- diff --git a/src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c b/src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c index 683efc10b6..b6effba60f 100644 --- a/src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c +++ b/src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c @@ -133,7 +133,8 @@ static bool load_imcs(char *filename) imc->destroy(imc); return FALSE; } - DBG1(DBG_TNC, "IMC \"%s\" loaded from '%s'", name, path); + DBG1(DBG_TNC, "IMC %u \"%s\" loaded from '%s'", imc->get_id(imc), + name, path); } munmap(addr, sb.st_size); close(fd); diff --git a/src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c b/src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c index 54162656b8..52c39a85a4 100644 --- a/src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c +++ b/src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c @@ -133,7 +133,8 @@ static bool load_imvs(char *filename) imv->destroy(imv); return FALSE; } - DBG1(DBG_TNC, "IMV \"%s\" loaded from '%s'", name, path); + DBG1(DBG_TNC, "IMV %u \"%s\" loaded from '%s'", imv->get_id(imv), + name, path); } munmap(addr, sb.st_size); close(fd);