Displaying 2 results from an estimated 2 matches for "ether_type_len".
2017 Mar 08
1
Suspicious code in net_socket.c
...each ai, until occurance of ai_next ==
NULL.
But it works. Linux, Windows, coordinator with white IP, other nodes behind
NAT's (1 or two NAT's, only direct connections allowed).
There are some problems with MinGW make, at least - mingw-64 from Fedora 25.
1. No definition for ETH_HLEN and ETHER_TYPE_LEN (fd_device.c)
2. no "kill" function in mingw (tincctl.c)
3. curses and readline from Fedora's mingw not directly compatible with tinc
configuration scripts - i want ti check it in some days and put patch to
.spec
For now I use dirty hacks to work around problems.
For now:
Packages...
2017 Mar 06
2
Suspicious code in net_socket.c
Good afternoon!
Module - net_socket.c
Function - get_known_addresses
---------------------------------------------------
struct addrinfo *nai = xzalloc(sizeof *nai);
if(ai)
ai->ai_next = nai;
ai = nai;
--------------------------------------------------
For my opinion, possible causes:
1. Lost trails (ai_next)
2. ai_next not initialized
3. Possible segfault during