Commit eebb9b96 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Export zeroes.

parent 10e9eb42
...@@ -69,7 +69,7 @@ int max_hopcount = 25; ...@@ -69,7 +69,7 @@ int max_hopcount = 25;
struct network nets[MAXNETS]; struct network nets[MAXNETS];
int numnets = 0; int numnets = 0;
static const unsigned char zeroes[16] = {0}; const unsigned char zeroes[16] = {0};
char *state_file = "/var/lib/babel-state"; char *state_file = "/var/lib/babel-state";
......
...@@ -92,6 +92,8 @@ extern unsigned char myid[16]; ...@@ -92,6 +92,8 @@ extern unsigned char myid[16];
extern struct network nets[MAXNETS]; extern struct network nets[MAXNETS];
extern int numnets; extern int numnets;
extern const unsigned char zeroes[16];
extern int protocol_port; extern int protocol_port;
extern unsigned char protocol_group[16]; extern unsigned char protocol_group[16];
extern int protocol_socket; extern int protocol_socket;
......
...@@ -38,7 +38,6 @@ THE SOFTWARE. ...@@ -38,7 +38,6 @@ THE SOFTWARE.
struct timeval update_flush_time = {0, 0}; struct timeval update_flush_time = {0, 0};
static const unsigned char zeroes[16] = {0};
const unsigned char packet_header[4] = {42, 0, 0, 0}; const unsigned char packet_header[4] = {42, 0, 0, 0};
unsigned int jitter; unsigned int jitter;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment