From d9a5f046754581f0edaa0e385f865bcc5ee842e3 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 6 Apr 2024 19:21:03 +0200 Subject: Return peer from both address families on announce --- trackerlogic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trackerlogic.h') diff --git a/trackerlogic.h b/trackerlogic.h index 4fb8bc7..9f5886d 100644 --- a/trackerlogic.h +++ b/trackerlogic.h @@ -82,7 +82,7 @@ typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA, FLAG_SELFPIPE } PROTO_FLAG; #define OT_PEER_SIZE6 ((OT_TIME_SIZE)+(OT_FLAG_SIZE)+(OT_PEER_COMPARE_SIZE6)) #define OT_PEER_SIZE4 ((OT_TIME_SIZE)+(OT_FLAG_SIZE)+(OT_PEER_COMPARE_SIZE4)) -typedef uint8_t ot_peer[1]; /* Generic pointer to a v6 or v4 peer */ +typedef uint8_t ot_peer; /* Generic pointer to a v6 or v4 peer */ typedef uint8_t ot_peer6[OT_PEER_SIZE6]; typedef uint8_t ot_peer4[OT_PEER_SIZE4]; static const uint8_t PEER_FLAG_SEEDING = 0x80; -- cgit v1.2.3