mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-15 12:27:50 +00:00
Merge pull request #1309 from iot-lab/tunslip_tun_conflict
Fix default tun/tap issue with multiple tunslip6
This commit is contained in:
@@ -884,14 +884,6 @@ exit(1);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(*tundev == '\0') {
|
|
||||||
/* Use default. */
|
|
||||||
if(tap) {
|
|
||||||
strcpy(tundev, "tap0");
|
|
||||||
} else {
|
|
||||||
strcpy(tundev, "tun0");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if(host != NULL) {
|
if(host != NULL) {
|
||||||
struct addrinfo hints, *servinfo, *p;
|
struct addrinfo hints, *servinfo, *p;
|
||||||
int rv;
|
int rv;
|
||||||
|
Reference in New Issue
Block a user