diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-01-17 23:32:34 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-02-11 15:30:44 +0100 |
commit | ebb87f08f7cb3b5402cea1d7ad7e3ef559bd3451 (patch) | |
tree | 0013fdd9de19f5605558af10797287a9478ea6f9 /src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c | |
parent | 98063d8187d6894f4698d689e7c5a3affbcd1622 (diff) | |
download | strongswan-ebb87f08f7cb3b5402cea1d7ad7e3ef559bd3451.tar.bz2 strongswan-ebb87f08f7cb3b5402cea1d7ad7e3ef559bd3451.tar.xz |
Make IKE/EAP IDs available to TNC server/client
Diffstat (limited to 'src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c')
-rw-r--r-- | src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c b/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c index 0b623d6ff..8e69476b6 100644 --- a/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c +++ b/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2012 Andreas Steffen + * Copyright (C) 2010-2013 Andreas Steffen * HSR Hochschule fuer Technik Rapperswil * * This program is free software; you can redistribute it and/or modify it @@ -158,7 +158,8 @@ METHOD(tnccs_manager_t, remove_method, void, } METHOD(tnccs_manager_t, create_instance, tnccs_t*, - private_tnc_tnccs_manager_t *this, tnccs_type_t type, bool is_server) + private_tnc_tnccs_manager_t *this, tnccs_type_t type, bool is_server, + identification_t *server, identification_t *peer) { enumerator_t *enumerator; tnccs_entry_t *entry; @@ -170,7 +171,7 @@ METHOD(tnccs_manager_t, create_instance, tnccs_t*, { if (type == entry->type) { - protocol = entry->constructor(is_server); + protocol = entry->constructor(is_server, server, peer); if (protocol) { break; |