--- a/src/lib/veth.c 2006-10-06 13:09:00.268275416 +0200 +++ b/src/lib/veth.c 2006-10-06 13:10:50.765528528 +0200 @@ -93,7 +92,9 @@ static int run_vznetcfg(envid_t veid, veth_dev *dev) { int ret; - char *argv[] = {VZNETCFG, "init", "veth", NULL, NULL}; + char veidstr[12]; + sprintf(veidstr, "%d", veid); + char *argv[] = {VZNETCFG, veidstr, "veth", NULL, NULL}; if (stat_file(VZNETCFG) != 1) return 0;