diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-12 19:54:43 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-12 19:54:43 +0000 |
commit | 3a1bc175ea78fed181fae643fef47de06ce9a412 (patch) | |
tree | 59b1155458f48acf38325590dc66fd0f4c4e1d6a /vl.c | |
parent | db45c29a651ee955a5aad87af4c6676bc33ef6f8 (diff) |
allow '-nics 0'
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@802 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2118,7 +2118,7 @@ int main(int argc, char **argv) break; case 16: nb_nics = atoi(optarg); - if (nb_nics < 1 || nb_nics > MAX_NICS) { + if (nb_nics < 0 || nb_nics > MAX_NICS) { fprintf(stderr, "qemu: invalid number of network interfaces\n"); exit(1); } |