Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Message

Re: [milter-greylist] Re: syncing autowhitelisted entries between mx-hosts

2004-10-12 by Matthias Scheler

On Wed, Oct 13, 2004 at 03:47:30AM +0900, Hajimu UMEMOTO wrote:
> manu> Could you test the following patch?
> manu> ftp://ftp.espci.fr/shadow/manu/local.patch
> 
> +	case AF_INET6:
> +		len = sizeof(sin6);
> +		memcpy(&sin6, sa, len);
> +		sin6.sin6_port = 0;
> +		sin6.sin6_flowinfo = 0;
> +		sin6.sin6_scope_id = 0;
> +		sa = (struct sockaddr *)&sin6;
> +		break;	
> 
> Why do you set sin6_flowinfo and sin6_scope_id to zero?

My fault. I remebered incorrectly that you have to clear these fields
for arguments to socket related system calls. But they are of cause
allowed to be non-zero for scoped addresses.

> These should not be touched.

Correct.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.