summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-04 14:59:59 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-05-04 14:59:59 +0200
commit0942c9368654ee1a0518bbeaf291a51852c11543 (patch)
tree37d9bbce057d706d2c42fec61c74c23a25e45912 /interface.c
parent26b5b29a97c2af1ab9571cc0ff198c76e784daf4 (diff)
add a new event for interface reload
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 acf30da..892dade 100644
--- a/interface.c
+++ b/interface.c
@@ -276,6 +276,7 @@ interface_do_free(struct interface *iface)
static void
interface_do_reload(struct interface *iface)
{
+ interface_event(iface, IFEV_RELOAD);
interface_cleanup(iface, true);
proto_init_interface(iface, iface->config);
interface_claim_device(iface);