1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-22 03:47:07 +00:00
termux-packages/packages/net-tools/lib-inet6.c.patch
Vishal Biswas b6d05a89e7 Updates for some disabled packages and add net-tools (#911)
* liblzo: update from 2.09 to 2.10

* net-tools: add package

* openvpn: update from 2.4.0 to 2.4.1

* squid: update from 3.5.24 to 3.5.25
2017-04-09 22:02:35 +02:00

12 lines
353 B
Diff

--- ./lib/inet6.c 2017-02-21 23:54:32.000000000 +0530
+++ ../inet6.c 2017-04-09 14:01:12.215538103 +0530
@@ -46,7 +46,7 @@
static char *fix_v4_address(char *buf, const struct in6_addr *in6)
{
- if (IN6_IS_ADDR_V4MAPPED(in6->s6_addr)) {
+ if (IN6_IS_ADDR_V4MAPPED(in6)) {
char *s =strchr(buf, '.');
if (s) {
while (s > buf && *s != ':')