Skip to content

Commit 7b36008

Browse files
authored
Return record instead of calling get_ipv4_record
1 parent 98127e4 commit 7b36008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libIP2Proxy/IP2Proxy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ static IP2ProxyRecord *IP2Proxy_get_record(IP2Proxy *handler, char *ip, uint32_t
623623
return IP2Proxy_bad_record(NOT_SUPPORTED);
624624
}
625625

626-
return IP2Proxy_get_ipv4_record(handler, mode, parsed_ip);
626+
return record;
627627
}
628628
if (parsed_ip.version == 6) {
629629
if (handler->ipv6_database_count == 0) {

0 commit comments

Comments
 (0)