Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] [SPF] libspf_alt vs libspf2

2004-09-20 by Matthias Scheler

On Mon, Sep 20, 2004 at 01:32:15PM +0000, Emmanuel Dreyfus wrote:
> On Mon, Sep 20, 2004 at 03:24:32PM +0200, Alexandre CHERIF wrote:
> > line 273 of milter-greylist.c:
> > inet_ntop(AF_INET, &priv->priv_addr, ipstr, IPADDRLEN);
> > 
> > change to
> >                         if (!iptostring(SA(&priv->priv_addr), 
> > priv->priv_addrlen, ipstr, sizeof(ipstr)))
> Anyone has an opinion about this change?  

It is not portable. Neither Solaris nor NetBSD have that function.
What about using getnameinfo()?

	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.