Merge pull request #1309 from iot-lab/tunslip_tun_conflict

Fix default tun/tap issue with multiple tunslip6
This commit is contained in:
Simon Duquennoy 2016-03-02 09:53:00 +01:00
commit c7bb3b7b9f

View file

@ -884,14 +884,6 @@ exit(1);
}
}
if(*tundev == '\0') {
/* Use default. */
if(tap) {
strcpy(tundev, "tap0");
} else {
strcpy(tundev, "tun0");
}
}
if(host != NULL) {
struct addrinfo hints, *servinfo, *p;
int rv;