mirror of
https://github.com/markqvist/tncattach.git
synced 2025-09-08 23:57:47 -04:00
TAP
- More cleanup
This commit is contained in:
parent
9272a16e52
commit
0d24b3a128
10
TAP.c
10
TAP.c
@ -366,16 +366,6 @@ int open_tap(void) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Choose stratergy for generating link-local address
|
|
||||||
if(device_type == IF_TAP)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add user's requested address
|
// Add user's requested address
|
||||||
trySixSet(ifr.ifr_ifindex, six_addr_itself, prefixLen_l);
|
trySixSet(ifr.ifr_ifindex, six_addr_itself, prefixLen_l);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user