Ticket #51068: patch-inet_pton-6.patch
File patch-inet_pton-6.patch, 691 bytes (added by ballapete (Peter "Pete" Dyballa), 8 years ago) |
---|
-
aclocal.m4
old new 203 203 204 204 addr.s6_addr[15] = 0x21; 205 205 inet_ntop(AF_INET6, &addr, str, sizeof(str)); 206 if (strcmp(str,"::21") )206 if (strcmp(str,"::21")&&strcmp(str,"::0.0.0.33")) 207 207 exit(1); 208 208 } 209 209 ]], [ipv6_cv_can_inet_ntop=yes], [ipv6_cv_can_inet_ntop=no])])dnl -
configure
old new 4271 4271 4272 4272 addr.s6_addr[15] = 0x21; 4273 4273 inet_ntop(AF_INET6, &addr, str, sizeof(str)); 4274 if (strcmp(str,"::21") )4274 if (strcmp(str,"::21")&&strcmp(str,"::0.0.0.33")) 4275 4275 exit(1); 4276 4276 } 4277 4277