Indent/Depend
This commit is contained in:
parent
28cc3bb0b9
commit
466f49e16d
2
Makefile
2
Makefile
@ -51,7 +51,7 @@ indent:
|
||||
|
||||
nsjail.o: nsjail.h cmdline.h common.h log.h net.h subproc.h
|
||||
cmdline.o: cmdline.h common.h log.h util.h
|
||||
contain.o: contain.h common.h log.h
|
||||
contain.o: contain.h common.h log.h net.h util.h
|
||||
log.o: log.h common.h
|
||||
net.o: net.h common.h log.h
|
||||
subproc.o: subproc.h common.h contain.h log.h net.h sandbox.h util.h
|
||||
|
3
net.c
3
net.c
@ -98,7 +98,8 @@ bool netCloneMacVtapAndNS(struct nsjconf_t *nsjconf, int pid)
|
||||
|
||||
char *const argv_add[] =
|
||||
{ "ip", "link", "add", "link", (char *)nsjconf->iface, "name", IFACE_NAME, "netns",
|
||||
pid_str, "type", "macvlan", "mode", "bridge", NULL };
|
||||
pid_str, "type", "macvlan", "mode", "bridge", NULL
|
||||
};
|
||||
if (netSystemSbinIp(nsjconf, argv_add) == false) {
|
||||
LOG_E("Couldn't create MACVTAP interface for '%s'", nsjconf->iface);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user