1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2026-05-18 03:47:00 +08:00

support IPv6 localnets

closes #218
This commit is contained in:
Eero Häkkinen
2021-09-09 07:33:03 +03:00
committed by rofl0r
Unverified
parent 4a963b2feb
commit 2739fb5416
3 changed files with 92 additions and 36 deletions
+11 -1
View File
@@ -65,8 +65,18 @@ typedef enum {
} select_type;
typedef struct {
struct in_addr in_addr, netmask;
sa_family_t family;
unsigned short port;
union {
struct {
struct in_addr in_addr;
struct in_addr in_mask;
};
struct {
struct in6_addr in6_addr;
unsigned char in6_prefix;
};
};
} localaddr_arg;
typedef struct {