summaryrefslogtreecommitdiffstats
path: root/src/tuntap.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/tuntap.c
parent78de22fd21b348fc00dde6fa0bfec73abb8fd651 (diff)
downloadfastd-d468ffff4564ac0d6fb1b13d886ee72785d329ef.tar
fastd-d468ffff4564ac0d6fb1b13d886ee72785d329ef.zip
Add pre-up and post-down handlers
Diffstat (limited to 'src/tuntap.c')
-rw-r--r--src/tuntap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tuntap.c b/src/tuntap.c
index 64633a8..b9ff646 100644
--- a/src/tuntap.c
+++ b/src/tuntap.c
@@ -337,6 +337,4 @@ void fastd_tuntap_write(fastd_context_t *ctx, fastd_buffer_t buffer) {
void fastd_tuntap_close(fastd_context_t *ctx) {
if (close(ctx->tunfd))
pr_warn_errno(ctx, "closing tun/tap: close");
-
- free(ctx->ifname);
}