Commit d6b86f4d85d71432bae9f3a0a514954dc1e33af9

Authored by bellard
1 parent 3a1bc175

-tun-fd option fix (Renzo Davoli)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@803 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
... ... @@ -2078,6 +2078,7 @@ int main(int argc, char **argv)
2078 2078 {
2079 2079 const char *p;
2080 2080 int fd;
  2081 + net_if_type = NET_IF_TUN;
2081 2082 if (nb_tun_fds < MAX_NICS) {
2082 2083 fd = strtol(optarg, (char **)&p, 0);
2083 2084 if (*p != '\0') {
... ...