struct tattle_message_wire_format {
u16_t sender;
u16_t seq;
- u16_t ago;
+ u32_t ago;
};
-void send_report_packet(u16_t seq, u16_t ago) {
+void send_report_packet(u16_t seq, u32_t ago) {
cyw43_arch_lwip_begin();
initialize_the_pcb();
(struct tattle_message_wire_format *)(p->payload);
msg->sender = htons(config_this_tattler_identity);
msg->seq = htons(seq);
- msg->ago = htons(ago);
+ msg->ago = htonl(ago);
if (udp_send(the_pcb, p) != ERR_OK)
signal_error_by_blinking();