ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/vpn_dns.C
(Generate patch)

Comparing gvpe/src/vpn_dns.C (file contents):
Revision 1.15 by pcg, Fri Mar 4 10:15:45 2005 UTC vs.
Revision 1.16 by pcg, Fri Mar 4 19:28:17 2005 UTC

786 pkt.qdcount = htons (1); 786 pkt.qdcount = htons (1);
787 pkt.ancount = 0; 787 pkt.ancount = 0;
788 pkt.nscount = 0; // should be self, as other nameservers reply like this 788 pkt.nscount = 0; // should be self, as other nameservers reply like this
789 pkt.arcount = 0; // a record for self, as other nameservers reply like this 789 pkt.arcount = 0; // a record for self, as other nameservers reply like this
790 790
791 pkt.flags = htons (DEFAULT_SERVER_FLAGS | FLAG_RCODE_NXDOMAIN); 791 pkt.flags = htons (DEFAULT_SERVER_FLAGS | FLAG_RCODE_SERVFAIL);
792 792
793 int dlen = strlen (THISNODE->domain); 793 int dlen = strlen (THISNODE->domain);
794 794
795 if (qclass == RR_CLASS_IN 795 if (qclass == RR_CLASS_IN
796 && qlen > dlen + 1 796 && qlen > dlen + 1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines