summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-12 18:54:16 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-12 18:54:16 +0200
commitd468ffff4564ac0d6fb1b13d886ee72785d329ef (patch)
tree52b54fc5f1e020b928c01228d1be413dd3aa8e74 /src/config.c
parent78de22fd21b348fc00dde6fa0bfec73abb8fd651 (diff)
downloadfastd-d468ffff4564ac0d6fb1b13d886ee72785d329ef.tar
fastd-d468ffff4564ac0d6fb1b13d886ee72785d329ef.zip
Add pre-up and post-down handlers
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 5ed7bc3..128b114 100644
--- a/src/config.c
+++ b/src/config.c
@@ -738,10 +738,14 @@ void fastd_config_release(fastd_context_t *ctx, fastd_config_t *conf) {
free(conf->groups);
free(conf->ifname);
free(conf->secret);
+ free(conf->on_pre_up);
+ free(conf->on_pre_up_dir);
free(conf->on_up);
free(conf->on_up_dir);
free(conf->on_down);
free(conf->on_down_dir);
+ free(conf->on_post_down);
+ free(conf->on_post_down_dir);
free(conf->on_establish);
free(conf->on_establish_dir);
free(conf->on_disestablish);