summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.c b/interface.c
index 5614d39..acf30da 100644
--- a/interface.c
+++ b/interface.c
@@ -265,6 +265,7 @@ interface_cleanup(struct interface *iface, bool reload)
static void
interface_do_free(struct interface *iface)
{
+ interface_event(iface, IFEV_FREE);
interface_cleanup(iface, false);
free(iface->config);
netifd_ubus_remove_interface(iface);