Indent/Depend

This commit is contained in:
Robert Swiecki 2016-02-29 18:56:52 +01:00
parent 28cc3bb0b9
commit 466f49e16d
2 changed files with 3 additions and 2 deletions

View File

@ -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
View File

@ -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;