diff --git a/src/replication/configuration.cpp b/src/replication/configuration.cpp index 3c5d291646..75e54bde3d 100644 --- a/src/replication/configuration.cpp +++ b/src/replication/configuration.cpp @@ -38,7 +38,7 @@ bool SetReplicationListener ( const VecTraits_T & dListeners, CS const bool bBadCount = ( tListen.m_iPortsCount<2 ); const bool bBadRange = ( ( tListen.m_iPortsCount%2 )!=0 && ( tListen.m_iPortsCount-1 )<2 ); if ( bBadCount || bBadRange ) - sphFatal ( "invalid replication ports count %d, should be at least 2", tListen.m_iPortsCount ); + sphFatal ( "invalid replication ports count %d, should be at least 2", tListen.m_iPortsCount+1 ); // can not use 0.0.0.0 due to Galera error at ReplicatorSMM::InitConfig::InitConfig if ( tListen.m_uIP != 0 )