projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netifd: Fix node version set after free
[project/netifd.git]
/
interface-event.c
diff --git
a/interface-event.c
b/interface-event.c
index
82c274d
..
1c8134f
100644
(file)
--- a/
interface-event.c
+++ b/
interface-event.c
@@
-30,7
+30,7
@@
static void task_complete(struct uloop_process *proc, int ret);
static struct uloop_process task = {
.cb = task_complete,
};
static struct uloop_process task = {
.cb = task_complete,
};
-
char *
eventnames[] = {"ifdown", "ifup", "ifupdate"};
+
static const char * const
eventnames[] = {"ifdown", "ifup", "ifupdate"};
static void
run_cmd(const char *ifname, const char *device, enum interface_event event,
static void
run_cmd(const char *ifname, const char *device, enum interface_event event,