You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
366 B

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