From 7f6f1938a6f8e7bce796680fbc9eda44a42e4d83 Mon Sep 17 00:00:00 2001 From: n07070 Date: Sun, 10 May 2020 17:30:21 +0200 Subject: [PATCH] smol --- src/debug.h | 2 +- src/node.c | 2 +- src/node.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/debug.h b/src/debug.h index b6362ed..9de638f 100644 --- a/src/debug.h +++ b/src/debug.h @@ -4,7 +4,7 @@ #include "node.h" -#define DEBUG_LEVEL 6 +#define DEBUG_LEVEL 0 void welcome(); diff --git a/src/node.c b/src/node.c index 18c76f5..697b9a5 100644 --- a/src/node.c +++ b/src/node.c @@ -1083,7 +1083,7 @@ int work_with_tlvs(char * data, uint16_t total_packet_len, struct sockaddr_in6 * break; case 9: - print_debug(">> \aReceived warning !"); + print_error(">> \aReceived warning !"); // We received a warning tlv so it's message is printed tlv_len = data[pos+1]; cur_message = data + pos + 2; diff --git a/src/node.h b/src/node.h index a852e4c..ff2bf8a 100644 --- a/src/node.h +++ b/src/node.h @@ -61,8 +61,8 @@ typedef struct list { #define LISTEN_PORT 1212 // The node ID -// #define NODE_ID 4209169790617845760 -#define NODE_ID 13386709784863621846 +#define NODE_ID 4209169790617845760 +// #define NODE_ID 13386709784863621846 // The number of neighbours // The neighbour table has 15 entries