summaryrefslogtreecommitdiff
path: root/src/network/core/address.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core/address.h')
-rw-r--r--src/network/core/address.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/core/address.h b/src/network/core/address.h
index e0ef9889b..a2fac9845 100644
--- a/src/network/core/address.h
+++ b/src/network/core/address.h
@@ -122,9 +122,10 @@ public:
/**
* Get the address as a string, e.g. 127.0.0.1:12345.
+ * @param with_family whether to add the family (e.g. IPvX).
* @return the address
*/
- const char *GetAddressAsString();
+ const char *GetAddressAsString(bool with_family = true);
/**
* Get the address in it's internal representation.