Browse Source

introducer support

pull/70/head
orignal 11 years ago
parent
commit
3b0c03104c
  1. 3
      RouterInfo.cpp
  2. 2
      SSU.cpp

3
RouterInfo.cpp

@ -359,7 +359,8 @@ namespace data @@ -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)

2
SSU.cpp

@ -154,7 +154,7 @@ namespace ssu @@ -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");

Loading…
Cancel
Save