updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / djbdns-opendns / nsd-xfr.patch
blob27a8bebb54804258d185bd45db569f851241624d
1 *** axfrdns.c.orig 2009-03-29 18:37:47.714863878 +0000
2 --- axfrdns.c 2009-03-29 18:38:14.888862901 +0000
3 ***************
4 *** 344,350 ****
5 netread(buf,len);
7 pos = dns_packet_copy(buf,len,0,header,12); if (!pos) die_truncated();
8 - if (header[2] & 254) strerr_die2x(111,FATAL,"bogus query");
9 if (header[4] || (header[5] != 1)) strerr_die2x(111,FATAL,"bogus query");
11 pos = dns_packet_getname(buf,len,pos,&zone); if (!pos) die_truncated();
12 --- 344,349 ----