diff options
-rw-r--r-- | interface.c | 1 | ||||
-rw-r--r-- | interface.h | 1 |
2 files changed, 2 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); diff --git a/interface.h b/interface.h index 14aefce..4b4326a 100644 --- a/interface.h +++ b/interface.h @@ -11,6 +11,7 @@ enum interface_event { IFEV_DOWN, IFEV_UP, IFEV_FREE, + IFEV_RELOAD, }; enum interface_state { |