diff --git a/api/IPAddress.h b/api/IPAddress.h index ef8556d1..3098f6cd 100644 --- a/api/IPAddress.h +++ b/api/IPAddress.h @@ -95,7 +95,7 @@ class IPAddress : public Printable { virtual size_t printTo(Print& p) const; String toString() const; - IPType type() { return _type; } + IPType type() const { return _type; } friend class UDP; friend class Client;