Otto Moerbeek <o...@drijf.net> wrote:
> Try this,
> 
>       -Otto
> 
> Index: spfwalk.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/smtpd/spfwalk.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 spfwalk.c
> --- spfwalk.c 26 Jan 2018 08:00:54 -0000      1.5
> +++ spfwalk.c 6 Mar 2018 12:12:42 -0000
> @@ -140,6 +140,8 @@ dispatch_txt(struct dns_rr *rr)
>       char *end;
>       ssize_t n;
>  
> +     if (rr->rr_type != T_TXT)
> +             return;
>       n = parse_txt(rr->rr.other.rdata, rr->rr.other.rdlen, buf, sizeof(buf));
>       if (n == -1 || n == sizeof(buf))
>               return;

Thats works perfect!

Thank you!

Reply via email to