diff --git a/tools/tunslip6.c b/tools/tunslip6.c index 4f3ff7e3e..3dda01c66 100644 --- a/tools/tunslip6.c +++ b/tools/tunslip6.c @@ -852,14 +852,6 @@ exit(1); break; } - if(*tundev == '\0') { - /* Use default. */ - if(tap) { - strcpy(tundev, "tap0"); - } else { - strcpy(tundev, "tun0"); - } - } if(host != NULL) { struct addrinfo hints, *servinfo, *p; int rv;