aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/attr/attr_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhydra/plugins/attr/attr_plugin.c')
-rw-r--r--src/libhydra/plugins/attr/attr_plugin.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libhydra/plugins/attr/attr_plugin.c b/src/libhydra/plugins/attr/attr_plugin.c
index 095bfb886..cb14495af 100644
--- a/src/libhydra/plugins/attr/attr_plugin.c
+++ b/src/libhydra/plugins/attr/attr_plugin.c
@@ -42,6 +42,13 @@ METHOD(plugin_t, get_name, char*,
return "attr";
}
+METHOD(plugin_t, reload, bool,
+ private_attr_plugin_t *this)
+{
+ this->provider->reload(this->provider);
+ return TRUE;
+}
+
METHOD(plugin_t, destroy, void,
private_attr_plugin_t *this)
{
@@ -61,7 +68,7 @@ plugin_t *attr_plugin_create()
.public = {
.plugin = {
.get_name = _get_name,
- .reload = (void*)return_false,
+ .reload = _reload,
.destroy = _destroy,
},
},