mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-22 23:10:38 +00:00
Fixed unit test failures in Linux.
This commit is contained in:
1 parent
c69087ba40
commit
491fbd034e
3 files changed
+7
-3
No files matched your search
@@ -8,6 +8,7 @@
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace RNS {
|
||||
|
||||
+5
-3
@@ -111,11 +111,13 @@ namespace RNS {
|
||||
_received_from(received_from),
|
||||
_hops(announce_hops),
|
||||
_expires(expires),
|
||||
_random_blobs(random_blobs),
|
||||
#if RNS_LEAN_PATH_TABLE
|
||||
_receiving_interface(receiving_interface)
|
||||
#else
|
||||
_receiving_interface(receiving_interface),
|
||||
#if !RNS_LEAN_PATH_TABLE
|
||||
_announce_packet(announce_packet),
|
||||
_announce_packet(announce_packet)
|
||||
#endif
|
||||
_random_blobs(random_blobs)
|
||||
{
|
||||
if (receiving_interface) _receiving_interface_hash = receiving_interface.get_hash();
|
||||
if (announce_packet) _announce_packet_hash = announce_packet.get_hash();
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <cmath>
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <stdint.h>
|
||||
|
||||
Reference in new issue
Block a user