The array eventnames is of size 3 while the interface_event type may use
the indexes 3 or 4.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
static struct uloop_process task = {
.cb = task_complete,
};
-static const char * const eventnames[] = {"ifdown", "ifup", "ifupdate"};
+static const char * const eventnames[] = {"ifdown", "ifup", "ifupdate", "free", "reload"};
static void
run_cmd(const char *ifname, const char *device, enum interface_event event,