--On Tuesday, January 29, 2008 10:12:43 -0500 Micheal Espinola Jr 
<[EMAIL PROTECTED]> wrote:

| last unless $type eq 'TXT'

Precisely what it says :-)  If this is a TXT record keep looking

That code fragment is in in decode_packet, it means we havn't got a 
satisfactory answer yet because we're looking for an A record or a CNAME
as the five lines above clearly show, and the fragment is of course wrong 
as there might be a LOC or SVC record, or as you point out even an SPF 
record, and the line should really read

   last if $type =~ m/^(A|CNAME)$/ ;

so that the processing can loop past to find other more satisfactory answers

-- 
Andrew Macpherson,
OA5.com Ltd. Registered No.3952726 VAT: GB 750 7688 04
The Red Lion #5. Much Hadham. Herts SG10 6DD. GB
Phone +44 1279 843147 GSM +44 78999 61797 Fax +44 7092 052800
http://www.oa5.com/   OA5 is a member of ISPA-UK

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to