projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65e00f3
)
net: un-const'ify array
author
Robert Swiecki
<robert@swiecki.net>
Fri, 7 Jul 2017 10:14:25 +0000
(12:14 +0200)
committer
Robert Swiecki
<robert@swiecki.net>
Fri, 7 Jul 2017 10:14:25 +0000
(12:14 +0200)
net.c
patch
|
blob
|
history
diff --git
a/net.c
b/net.c
index d3963b0373f2a784201e1bbd518617b429ccaddb..5802b14c2de8f6cf218feb787e5b45e8c2c9ba93 100644
(file)
--- a/
net.c
+++ b/
net.c
@@
-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
};