Fix some search & replace mistakes.

This commit is contained in:
Jonathan Naylor
2025-03-14 16:31:29 +00:00
parent cf15f42a0f
commit 19ead93af9
7 changed files with 14 additions and 14 deletions

View File

@@ -37,8 +37,8 @@
#endif
enum class IPMATCHTYPE {
IMT_ADDREAND_PORT,
IMT_ADDREONLY
ADDRESS_AND_PORT,
ADDRESS_ONLY
};
class CUDPSocket {
@@ -61,7 +61,7 @@ public:
static int lookup(const std::string& hostName, unsigned short port, sockaddr_storage& address, unsigned int& addressLength);
static int lookup(const std::string& hostName, unsigned short port, sockaddr_storage& address, unsigned int& addressLength, struct addrinfo& hints);
static bool match(const sockaddr_storage& addr1, const sockaddr_storage& addr2, IPMATCHTYPE type = IPMATCHTYPE::IMT_ADDREAND_PORT);
static bool match(const sockaddr_storage& addr1, const sockaddr_storage& addr2, IPMATCHTYPE type = IPMATCHTYPE::ADDRESS_AND_PORT);
static bool isNone(const sockaddr_storage& addr);