Default CNetAdr2::GetIP() 'bBaseOnly' to false

This commit is contained in:
Kawe Mazidjatari 2022-03-28 12:02:40 +02:00
parent 73cdaf18e3
commit a875cd490c

View File

@ -250,7 +250,7 @@ std::string CNetAdr2::GetBase(std::string svInAdr) const
// Purpose: gets the IP address.
// Input : bBaseOnly -
//-----------------------------------------------------------------------------
std::string CNetAdr2::GetIP(bool bBaseOnly) const
std::string CNetAdr2::GetIP(bool bBaseOnly = false) const
{
if (GetType() == netadrtype_t::NA_LOOPBACK)
{