You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
353 B
12 lines
353 B
8 years ago
|
--- ./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 != ':')
|