smol
This commit is contained in:
parent
880e719ff4
commit
7f6f1938a6
@ -4,7 +4,7 @@
|
|||||||
#include "node.h"
|
#include "node.h"
|
||||||
|
|
||||||
|
|
||||||
#define DEBUG_LEVEL 6
|
#define DEBUG_LEVEL 0
|
||||||
|
|
||||||
void welcome();
|
void welcome();
|
||||||
|
|
||||||
|
@ -1083,7 +1083,7 @@ int work_with_tlvs(char * data, uint16_t total_packet_len, struct sockaddr_in6 *
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
print_debug(">> \aReceived warning !");
|
print_error(">> \aReceived warning !");
|
||||||
// We received a warning tlv so it's message is printed
|
// We received a warning tlv so it's message is printed
|
||||||
tlv_len = data[pos+1];
|
tlv_len = data[pos+1];
|
||||||
cur_message = data + pos + 2;
|
cur_message = data + pos + 2;
|
||||||
|
@ -61,8 +61,8 @@ typedef struct list {
|
|||||||
#define LISTEN_PORT 1212
|
#define LISTEN_PORT 1212
|
||||||
|
|
||||||
// The node ID
|
// The node ID
|
||||||
// #define NODE_ID 4209169790617845760
|
#define NODE_ID 4209169790617845760
|
||||||
#define NODE_ID 13386709784863621846
|
// #define NODE_ID 13386709784863621846
|
||||||
|
|
||||||
// The number of neighbours
|
// The number of neighbours
|
||||||
// The neighbour table has 15 entries
|
// The neighbour table has 15 entries
|
||||||
|
Loading…
Reference in New Issue
Block a user