diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/librdns/resolver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/librdns/resolver.c b/contrib/librdns/resolver.c index 3abb17304..b9b156c5e 100644 --- a/contrib/librdns/resolver.c +++ b/contrib/librdns/resolver.c @@ -994,6 +994,8 @@ void rdns_resolver_set_fake_reply (struct rdns_resolver *resolver, abort (); } + fake_rep->rcode = rcode; + memcpy (&fake_rep->key, srch, sizeof (*srch) + len); if (reply) { |