Skip to content

Commit 749666a

Browse files
author
deadlightreal
committed
Fixed issue
1 parent 0197cd0 commit 749666a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/handle_packets.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ static inline void swiftnet_handle_packets(const uint16_t source_port, pthread_t
7070
allocator_free(&packet_buffer_memory_allocator, packet_buffer);
7171
return;
7272
}
73+
} else {
74+
node->sender_address.s_addr = 0;
7375
}
7476

7577
node->data_read = len;

0 commit comments

Comments
 (0)