aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 18f957dccf..7db2881770 100644
--- a/vl.c
+++ b/vl.c
@@ -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') {