mirror of
https://github.com/markqvist/tncattach.git
synced 2026-01-06 07:18:42 -05:00
TAP
- Clean up
This commit is contained in:
parent
2625afd6f3
commit
eab34b6eb9
5
TAP.c
5
TAP.c
@ -1,8 +1,7 @@
|
||||
#include "TAP.h"
|
||||
|
||||
// Needed for in6_ifreq
|
||||
// #include <cstdio>
|
||||
// #include <cstdlib>
|
||||
#include <arpa/inet.h>
|
||||
#include <linux/ipv6.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/ioctl.h>
|
||||
@ -60,8 +59,6 @@ struct in6_addr generateLinkLocal(char* interfaceName)
|
||||
return ll_a;
|
||||
}
|
||||
|
||||
#include <arpa/inet.h>
|
||||
|
||||
void trySixSet
|
||||
(
|
||||
int interfaceIndex,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user