aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/tnc_pdp/tnc_pdp_plugin.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-07-31 22:09:38 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2013-08-15 23:34:22 +0200
commitf5b5d262e8929784d13d6ed1e76e0f00eedb2698 (patch)
tree39bb4a9fc8aa04a14b0910f92e5d76d9a254d4d6 /src/libcharon/plugins/tnc_pdp/tnc_pdp_plugin.c
parentf853e7bcc03be4cde89a7f61fb9c243748d558d7 (diff)
downloadstrongswan-f5b5d262e8929784d13d6ed1e76e0f00eedb2698.tar.bz2
strongswan-f5b5d262e8929784d13d6ed1e76e0f00eedb2698.tar.xz
Add PT-TLS interface to strongSwan PDP
Diffstat (limited to 'src/libcharon/plugins/tnc_pdp/tnc_pdp_plugin.c')
-rw-r--r--src/libcharon/plugins/tnc_pdp/tnc_pdp_plugin.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/libcharon/plugins/tnc_pdp/tnc_pdp_plugin.c b/src/libcharon/plugins/tnc_pdp/tnc_pdp_plugin.c
index e35ba9ead..14ab9cf6f 100644
--- a/src/libcharon/plugins/tnc_pdp/tnc_pdp_plugin.c
+++ b/src/libcharon/plugins/tnc_pdp/tnc_pdp_plugin.c
@@ -21,11 +21,6 @@
typedef struct private_tnc_pdp_plugin_t private_tnc_pdp_plugin_t;
/**
- * Default RADIUS port, when not configured
- */
-#define RADIUS_PORT 1812
-
-/**
* private data of tnc_pdp plugin
*/
struct private_tnc_pdp_plugin_t {
@@ -56,11 +51,7 @@ static bool plugin_cb(private_tnc_pdp_plugin_t *this,
{
if (reg)
{
- int port;
-
- port = lib->settings->get_int(lib->settings,
- "%s.plugins.tnc-pdp.port", RADIUS_PORT, charon->name);
- this->pdp = tnc_pdp_create(port);
+ this->pdp = tnc_pdp_create();
}
else
{