blob: 04d3ce0e9e29aa2cb4de92489e82aff53bcc44a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/bandwidthd.h
+++ b/bandwidthd.h
@@ -120,7 +120,7 @@ struct config
char *sensor_id;
};
-struct SubnetData
+extern struct SubnetData
{
uint32_t ip;
uint32_t mask;
@@ -139,7 +139,7 @@ struct Statistics
unsigned long long p2p;
};
-struct IPData
+extern struct IPData
{
time_t timestamp;
uint32_t ip; // Host byte order
|