Fix negative reversed IPv4 test

which assumes 1.1.1.1.in-addr.arpa does not exist
This commit is contained in:
Willem Toorop 2018-04-23 14:05:02 +02:00
parent 1b5b0ca799
commit a834d32718
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@
struct getdns_context *context = NULL;
struct getdns_dict *address = NULL;
struct getdns_bindata address_type = { 5, (void *)"IPv4" };
struct getdns_bindata address_data = { 4, (void *)"\x01\x01\x01\x01" };
struct getdns_bindata address_data = { 4, (void *)"\xb9\x31\x8c\x00" };
void* eventloop = NULL;
getdns_transaction_t transaction_id = 0;

View File

@ -304,7 +304,7 @@
struct getdns_context *context = NULL;
struct getdns_dict *address = NULL;
struct getdns_bindata address_type = { 5, (void *)"IPv4" };
struct getdns_bindata address_data = { 4, (void *)"\x01\x01\x01\x01" };
struct getdns_bindata address_data = { 4, (void *)"\xb9\x31\x8c\x00" };
struct getdns_dict *response = NULL;
CONTEXT_CREATE(TRUE);