mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 05:57:59 +01:00
p2p, refactor: drop unused DNSLookupFn param in LookupSubnet()
This commit is contained in:
@@ -176,7 +176,7 @@ CService LookupNumeric(const std::string& name, uint16_t portDefault = 0, DNSLoo
|
||||
* from `subnet_str`.
|
||||
* @returns whether the operation succeeded or not.
|
||||
*/
|
||||
bool LookupSubNet(const std::string& subnet_str, CSubNet& subnet_out, DNSLookupFn dns_lookup_function = g_dns_lookup);
|
||||
bool LookupSubNet(const std::string& subnet_str, CSubNet& subnet_out);
|
||||
|
||||
/**
|
||||
* Create a TCP socket in the given address family.
|
||||
|
||||
Reference in New Issue
Block a user