Browse Source

Indicates successful connection between the edge and SN nodes

pull/335/head
ygg 4 years ago
parent
commit
64857218a5
  1. 10
      src/edge_utils.c

10
src/edge_utils.c

@ -1794,7 +1794,15 @@ static void readFromIPSocket(n2n_edge_t * eee, int in_sock) {
} }
case MSG_TYPE_REGISTER_SUPER_ACK: case MSG_TYPE_REGISTER_SUPER_ACK:
{ {
n2n_REGISTER_SUPER_ACK_t ra; // Indicates successful connection between the edge and SN nodes
static int bTrace = 1;
if (bTrace)
{
traceEvent(TRACE_NORMAL, "[OK] Edge Peer <<< ================ >>> Super Node");
bTrace = 0;
}
n2n_REGISTER_SUPER_ACK_t ra;
if(eee->sn_wait) if(eee->sn_wait)
{ {

Loading…
Cancel
Save