// paranoia - just to be consistent with Vovida, send the attributes back in the same order it does
// I suspect there are clients out there that might be hardcoded to the ordering
// MAPPED-ADDRESS
// SOURCE-ADDRESS (RESPONSE-ORIGIN)
// CHANGED-ADDRESS (OTHER-ADDRESS)
// XOR-MAPPED-ADDRESS
builder.AddMappedAddress(_pMsgIn->addrRemote);
if(fLegacyFormat==false)
{
builder.AddXorMappedAddress(_pMsgIn->addrRemote);
}
if(fSendOriginAddress)
{
builder.AddResponseOriginAddress(addrOrigin,fLegacyFormat);// pass true to send back SOURCE_ADDRESS, otherwise, pass false to send back RESPONSE-ORIGIN