]> git.pld-linux.org Git - packages/libspf2.git/blob - abolish-spf-rrtype.patch
Rel 3; small fixes from debian
[packages/libspf2.git] / abolish-spf-rrtype.patch
1 Description: Stop trying to look up the dedicated SPF DNS RR type,
2  which was abolished by RFC 7208. The rr_type variable and the all the
3  "goto retry" commands could be deleted as well, but let's keep the
4  patch minimal.
5
6 --- a/src/libspf2/spf_server.c 2012-01-28 09:24:47.000000000 +0100
7 +++ b/src/libspf2/spf_server.c 2014-06-19 14:09:07.000000000 +0200
8 @@ -346,7 +346,7 @@
9                                                 spf_response, spf_recordp);
10
11         /* I am VERY, VERY sorry about the gotos. Shevek. */
12 -       rr_type = ns_t_spf;
13 +       rr_type = ns_t_txt;
14  retry:
15         rr_txt = SPF_dns_lookup(resolver, domain, rr_type, TRUE);
16  
This page took 0.207655 seconds and 3 git commands to generate.