On Fri, 18 Apr 2008, Doug Kingston wrote:
> The for loop above leave p pointing at each successive '.' in the domain 
> name as it tries to slide along looking for a match against the current 
> node.  The nodes are domain names WITHOUT a leading '.'.  I think the 
> comparison above should read "if (strcasecmp(p+1, node->peer_info) == 
> 0)".

The man pages all say the file should contain on each line a hostname, 
domain name (e.g. ".example.com"), IP address, an IPv6 address (including 
an IPv4 mapped address), or a CIDR-style IP specification (e.g. 
"192.168.1.0/24").  Thus the current behaviour matches the documentation; 
the match should start at the dot character.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to