diff options
Diffstat (limited to 'src/network/core/address.h')
-rw-r--r-- | src/network/core/address.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/address.h b/src/network/core/address.h index 4c025b584..2c37860c4 100644 --- a/src/network/core/address.h +++ b/src/network/core/address.h @@ -74,7 +74,7 @@ public: * @param port the port * @param family the address family */ - NetworkAddress(const char *hostname = "0.0.0.0", uint16 port = 0, int family = AF_INET) : + NetworkAddress(const char *hostname = "", uint16 port = 0, int family = AF_UNSPEC) : address_length(0) { /* Also handle IPv6 bracket enclosed hostnames */ |