Fix link id

This commit is contained in:
Quentin 2019-10-18 17:31:42 +02:00
parent 687e944231
commit 0e123fa55b

View file

@ -390,7 +390,7 @@ void tag_packet_measlat(union abstract_packet* ap, uint8_t link_id, uint8_t is_s
continue;
}
struct measure_packet *mp = (void*)&cur->fmt.content.udp_encapsulated.payload;
mp->flag = 0x7f & link_id;
mp->flag = 0x3f & link_id;
mp->flag |= vanilla << 6;
mp->flag |= is_slow << 7;