🪄 Formats IPUtils
This commit is contained in:
@@ -19,17 +19,10 @@
|
||||
|
||||
const IPAddress IP_NOT_SET = IPAddress(INADDR_NONE);
|
||||
|
||||
class IPUtils
|
||||
{
|
||||
public:
|
||||
static bool isSet(const IPAddress &ip)
|
||||
{
|
||||
return ip != IP_NOT_SET;
|
||||
}
|
||||
static bool isNotSet(const IPAddress &ip)
|
||||
{
|
||||
return ip == IP_NOT_SET;
|
||||
}
|
||||
class IPUtils {
|
||||
public:
|
||||
static bool isSet(const IPAddress &ip) { return ip != IP_NOT_SET; }
|
||||
static bool isNotSet(const IPAddress &ip) { return ip == IP_NOT_SET; }
|
||||
};
|
||||
|
||||
#endif // end IPUtils_h
|
||||
|
||||
Reference in New Issue
Block a user