introducer support

This commit is contained in:
orignal 2014-04-16 18:28:44 -04:00
parent b873f7c7f1
commit 3b0c03104c
2 changed files with 3 additions and 2 deletions

View file

@ -359,7 +359,8 @@ namespace data
memcpy (addr.key, key, 32);
m_Addresses.push_back(addr);
m_SupportedTransports |= eSSUV4;
m_Caps |= eSSUTesting; // TODO
m_Caps |= eSSUTesting;
m_Caps |= eSSUIntroducer;
}
void RouterInfo::SetProperty (const char * key, const char * value)

View file

@ -154,7 +154,7 @@ namespace ssu
break;
case PAYLOAD_TYPE_RELAY_REQUEST:
LogPrint ("SSU relay request received");
ProcessRelayIntro (buf + sizeof (SSUHeader), len - sizeof (SSUHeader));
ProcessRelayRequest (buf + sizeof (SSUHeader), len - sizeof (SSUHeader));
break;
case PAYLOAD_TYPE_RELAY_INTRO:
LogPrint ("SSU relay intro received");