net: un-const'ify array

This commit is contained in:
Robert Swiecki 2017-07-07 12:14:25 +02:00
parent 65e00f3f65
commit f18976d43d

2
net.c
View File

@ -133,7 +133,7 @@ bool netInitNsFromParent(struct nsjconf_t *nsjconf, int pid)
char pid_str[256];
snprintf(pid_str, sizeof(pid_str), "%d", pid);
const char *const argv[] = {
const char *argv[] = {
"/sbin/ip", "link", "add", "link", (char *)nsjconf->iface_vs, "name", IFACE_NAME,
"netns", pid_str, "type", "macvlan", "mode", "bridge", NULL
};