diff options
Diffstat (limited to 'contrib/librdns/dns_private.h')
-rw-r--r-- | contrib/librdns/dns_private.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/librdns/dns_private.h b/contrib/librdns/dns_private.h index 44bb3dd84..a82ebd62e 100644 --- a/contrib/librdns/dns_private.h +++ b/contrib/librdns/dns_private.h @@ -111,11 +111,16 @@ struct rdns_io_channel { ref_entry_t ref; }; -struct rdns_fake_reply { - char *request; +struct rdns_fake_reply_idx { enum dns_rcode rcode; + unsigned len; + char request[0]; +}; + +struct rdns_fake_reply { struct rdns_reply_entry *result; UT_hash_handle hh; + struct rdns_fake_reply_idx key; }; |