summaryrefslogtreecommitdiff
path: root/src/network/address.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/address.h')
-rw-r--r--src/network/address.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/address.h b/src/network/address.h
index fb25b3565..4329c84a8 100644
--- a/src/network/address.h
+++ b/src/network/address.h
@@ -66,6 +66,7 @@ public:
void setPort(unsigned short port);
void print(std::ostream *s) const;
std::string serializeString() const;
+ bool isLocalhost() const;
private:
unsigned int m_addr_family = 0;