tun-fd option fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@667 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-03-16 00:02:58 +00:00
parent 94fe4f9fa3
commit 4e463d8d50

2
vl.c
View File

@ -980,6 +980,8 @@ int main(int argc, char **argv)
} else if (*p != '\0') {
fprintf(stderr, "qemu: invalid fd for network interface %d\n", nb_nics);
exit(1);
} else {
break;
}
}
}