[ipfilter-cvs] ipfilter/lib gethost.c,
Brought to you by:
darren_r
From: Darren <dar...@us...> - 2012-08-25 14:16:29
|
Update of /cvsroot/ipfilter/ipfilter/lib In directory vz-cvs-4.sog:/tmp/cvs-serv20290/lib Modified Files: 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.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** gethost.c 22 Jul 2012 08:02:23 -0000 1.9 --- gethost.c 25 Aug 2012 14:16:27 -0000 1.10 *************** *** 1,4 **** /* ! * Copyright (C) 2002-2009 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. --- 1,4 ---- /* ! * Copyright (C) 2012 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. *************** *** 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 |