From 0e123fa55bde4954f8b8243ee9ca2f486d3fbebc Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 18 Oct 2019 17:31:42 +0200 Subject: [PATCH] Fix link id --- src/algo_lightning.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algo_lightning.c b/src/algo_lightning.c index addd16d..b605787 100644 --- a/src/algo_lightning.c +++ b/src/algo_lightning.c @@ -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;