Ticket #45239: patch-libhttpd.c.diff
File patch-libhttpd.c.diff, 392 bytes (added by jpo@…, 10 years ago) |
---|
-
libhttpd.c
old new 4122 4122 } 4123 4123 else if ( IN6_IS_ADDR_V4MAPPED( &saP->sa_in6.sin6_addr ) && strncmp( str, "::ffff:", 7 ) == 0 ) 4124 4124 /* Elide IPv6ish prefix for IPv4 addresses. */ 4125 (void) strcpy( str, &str[7]);4125 (void) memmove( str, &str[7], strlen(&str[7]) + 1 ); 4126 4126 4127 4127 return str; 4128 4128