[ipfilter-cvs] ipfilter/lib gethost.c,v5-1-RELEASE
Brought to you by:
darren_r
From: Darren <dar...@us...> - 2012-08-25 14:16:43
|
Update of /cvsroot/ipfilter/ipfilter/lib In directory vz-cvs-4.sog:/tmp/cvs-serv20303/lib Modified Files: Tag: v5-1-RELEASE gethost.c Log Message: 3561690 ipv6 address for test.hosts.dots in wrong byte order Index: gethost.c =================================================================== RCS file: /cvsroot/ipfilter/ipfilter/lib/gethost.c,v retrieving revision 1.8.2.2 retrieving revision 1.8.2.3 diff -C2 -d -r1.8.2.2 -r1.8.2.3 *** gethost.c 22 Jul 2012 08:04:24 -0000 1.8.2.2 --- gethost.c 25 Aug 2012 14:16:41 -0000 1.8.2.3 *************** *** 24,31 **** #ifdef USE_INET6 if (family == AF_INET6) { ! hostp->i6[0] = 0xfe80aa55; ! hostp->i6[1] = 0x12345678; ! hostp->i6[2] = 0x5a5aa5a5; ! hostp->i6[3] = 0xfedcba98; } #endif --- 24,31 ---- #ifdef USE_INET6 if (family == AF_INET6) { ! hostp->i6[0] = htonl(0xfe80aa55); ! hostp->i6[1] = htonl(0x12345678); ! hostp->i6[2] = htonl(0x5a5aa5a5); ! hostp->i6[3] = htonl(0xfedcba98); } #endif |