diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-12 19:59:20 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-12 19:59:20 +0000 |
commit | d6b86f4d85d71432bae9f3a0a514954dc1e33af9 (patch) | |
tree | fc2cc1bfb132673e5a32cc0f384f6ad44f6a5ec6 /vl.c | |
parent | 3a1bc175ea78fed181fae643fef47de06ce9a412 (diff) | |
download | qemu-d6b86f4d85d71432bae9f3a0a514954dc1e33af9.tar.gz qemu-d6b86f4d85d71432bae9f3a0a514954dc1e33af9.tar.bz2 qemu-d6b86f4d85d71432bae9f3a0a514954dc1e33af9.zip |
-tun-fd option fix (Renzo Davoli)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@803 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2078,6 +2078,7 @@ int main(int argc, char **argv) { const char *p; int fd; + net_if_type = NET_IF_TUN; if (nb_tun_fds < MAX_NICS) { fd = strtol(optarg, (char **)&p, 0); if (*p != '\0') { |