PrintInet: fix compilation on FreeBSD

remotes/origin/master-1.1.x
Eric Leblond 14 years ago committed by Victor Julien
parent 5656e34459
commit bd7ac3eaa6

@ -124,6 +124,11 @@ void PrintRawDataFp(FILE *fp, uint8_t *buf, uint32_t buflen) {
fprintf(fp, "\n");
}
#ifndef s6_addr16
# define s6_addr16 __u6_addr.__u6_addr16
#endif
static const char *PrintInetIPv6(const void *src, char *dst, socklen_t size)
{
struct in6_addr * insrc = (struct in6_addr *) src;

@ -21,6 +21,8 @@
* \author Victor Julien <victor@inliniac.net>
*/
#ifndef __UTIL_PRINT_H__
#define __UTIL_PRINT_H__

Loading…
Cancel
Save