--- In milter-greylist@yahoogroups.com, Emmanuel Dreyfus <manu@n...>
wrote:
> Quick fix: Add an #undef AF_INET6 after the includes in pending.c
Great, it works.
>
> But we need a better fix? Can we see your struct sockaddr_in6
definition?
> It should be in /usr/include/netinet6/in6.h
Well I'm compiling kernel, so from kernel-2.4.32 source in6.h file I
found:
struct sockaddr_in6 {
unsigned short int sin6_family; /* AF_INET6 */
__u16 sin6_port; /* Transport layer port # */
__u32 sin6_flowinfo; /* IPv6 flow
information */ struct in6_addr sin6_addr; /* IPv6
address */
__u32 sin6_scope_id; /* scope id (new in RFC2553) */
};
But somehow I think that system still reads from somewhere the old 2.2
kernel headers, as there I found:
struct sockaddr_in6 {
unsigned short int sin6_family; /* AF_INET6 */
__u16 sin6_port; /* Transport layer port # */
__u32 sin6_flowinfo; /* IPv6 flow information */
struct in6_addr sin6_addr; /* IPv6 address */
};Message
Re: Make error - structure has no member named `sin6_scope_id'
2006-01-13 by tirilimpspoolteist
Attachments
- No local attachments were found for this message.