mirror of https://github.com/getdnsapi/getdns.git
Fix negative reversed IPv4 test
which assumes 1.1.1.1.in-addr.arpa does not exist
This commit is contained in:
parent
1b5b0ca799
commit
a834d32718
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue