aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/duplicheck
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/plugins/duplicheck')
-rw-r--r--src/libcharon/plugins/duplicheck/duplicheck_plugin.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libcharon/plugins/duplicheck/duplicheck_plugin.c b/src/libcharon/plugins/duplicheck/duplicheck_plugin.c
index 69a8dbf45..f8868e4b0 100644
--- a/src/libcharon/plugins/duplicheck/duplicheck_plugin.c
+++ b/src/libcharon/plugins/duplicheck/duplicheck_plugin.c
@@ -43,6 +43,12 @@ struct private_duplicheck_plugin_t {
duplicheck_notify_t *notify;
};
+METHOD(plugin_t, get_name, char*,
+ private_duplicheck_plugin_t *this)
+{
+ return "duplicheck";
+}
+
METHOD(plugin_t, destroy, void,
private_duplicheck_plugin_t *this)
{
@@ -68,6 +74,7 @@ plugin_t *duplicheck_plugin_create()
INIT(this,
.public = {
.plugin = {
+ .get_name = _get_name,
.destroy = _destroy,
},
},