summaryrefslogtreecommitdiff
path: root/interface-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'interface-event.c')
-rw-r--r--interface-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-event.c b/interface-event.c
index 82c274d..1c8134f 100644
--- 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,
};
-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,