tnc-pdp: Fix reading port setting from strongswan.conf
authorTobias Brunner <tobias@strongswan.org>
Mon, 22 Jul 2013 15:43:54 +0000 (17:43 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 22 Jul 2013 15:43:54 +0000 (17:43 +0200)
src/libcharon/plugins/tnc_pdp/tnc_pdp_plugin.c

index e5526b7..e35ba9e 100644 (file)
@@ -59,7 +59,7 @@ static bool plugin_cb(private_tnc_pdp_plugin_t *this,
                int port;
 
                port = lib->settings->get_int(lib->settings,
-                                               "%s.plugins.tnc_pdp.port", RADIUS_PORT, charon->name);
+                                               "%s.plugins.tnc-pdp.port", RADIUS_PORT, charon->name);
                this->pdp = tnc_pdp_create(port);
        }
        else