From 9d6edae94d5e5e852b461b09e6515cc83861745f Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 8 Apr 2009 12:09:07 +0000 Subject: (svn r15981) -Fix: don't print the address family when writing the IP+port to the config file. --- src/network/core/address.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/network/core/address.h') 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. -- cgit v1.2.3-54-g00ecf