diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-11-10 21:30:50 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-11-10 21:30:50 +0100 |
commit | e7fe3fe2c38ea9bb7807de2f190ee26bcff117a6 (patch) | |
tree | f582d15bed4a872118e95d576352592401ac8ecb | |
parent | cc5f7aa3d812bd016b706dbff7f70d03b5e60016 (diff) | |
download | strongswan-e7fe3fe2c38ea9bb7807de2f190ee26bcff117a6.tar.bz2 strongswan-e7fe3fe2c38ea9bb7807de2f190ee26bcff117a6.tar.xz |
display ID of registered IMCs/IMVs
-rw-r--r-- | src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c | 3 | ||||
-rw-r--r-- | src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c b/src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c index 683efc10b..b6effba60 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 54162656b..52c39a85a 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); |