IPv6 prefix length error
Mark Andrews
marka at isc.org
Sat Apr 30 03:05:42 UTC 2011
In message <4DBAD097.5030209 at imperial.ac.uk>, Phil Mayers writes:
> On 04/29/2011 03:24 PM, Mark Andrews wrote:
> >
> > The fix is likely to be a couple of lines of code to retrieve the
> > value but without access to the correct documentation or kernel
> > source code its hard to work out how to fix it.
>
> This code apparently works for AIX 5.3:
>
> http://lists.samba.org/archive/samba-technical/2009-February/063079.html
Then the following may fix the issue. I don't have access to a aix
to test this at the moment.
Index: lib/isc/unix/ifiter_ioctl.c
===================================================================
RCS file: /proj/cvs/prod/bind9/lib/isc/unix/ifiter_ioctl.c,v
retrieving revision 1.62
diff -u -r1.62 ifiter_ioctl.c
--- lib/isc/unix/ifiter_ioctl.c 18 Jan 2009 23:48:14 -0000 1.62
+++ lib/isc/unix/ifiter_ioctl.c 30 Apr 2011 03:03:50 -0000
@@ -519,6 +519,7 @@
if ((ifreq.ifr_flags & IFF_LOOPBACK) != 0)
iter->current.flags |= INTERFACE_F_LOOPBACK;
+#ifndef _AIX
if (family == AF_INET)
goto inet;
@@ -568,6 +569,7 @@
inet:
if (family != AF_INET)
return (ISC_R_IGNORE);
+#endif
#ifdef IFF_POINTOPOINT
/*
* If the interface is point-to-point, get the destination address.
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list