chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add fixme.
[adns]
/
src
/
reply.c
diff --git
a/src/reply.c
b/src/reply.c
index cbb66a143eb27be6045d0ea9bf704223d3aa384b..f98540cb7cc8785e131ad8746be615b8e3a149f8 100644
(file)
--- a/
src/reply.c
+++ b/
src/reply.c
@@
-57,6
+57,9
@@
void adns__procdgram(adns_state ads, const byte *dgram, int dglen,
flg_rd= f1&0x01;
flg_ra= f2&0x80;
rcode= (f1&0x0f);
flg_rd= f1&0x01;
flg_ra= f2&0x80;
rcode= (f1&0x0f);
+ /* fixme: change this to f2 (which is where rcode really is), BUT
+ * not until we've figured out why the error code is wrong (bad format code 203)
+ */
if (!flg_qr) {
adns__diag(ads,serv,0,"server sent us a query, not a response");
if (!flg_qr) {
adns__diag(ads,serv,0,"server sent us a query, not a response");