Wrong debug message in d_tcp.c:1559
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
rohc | Status tracked in Rohc-main | |||||
Rohc-1.7.x |
Won't Fix
|
Low
|
Didier Barvaux | |||
Rohc-main |
Fix Released
|
Low
|
Didier Barvaux |
Bug Description
There is a wrong debug message in d_tcp.c:1559:
/* ACK number */
if(co_
{
rohc_
}
Should be replaced with similar like this
/* ACK number */
if((
{
rohc_
}
to prevent wrong messages like
[DEBUG] [d_tcp.c:1559 d_tcp_parse_CO()] ACK flag not set, but indicator for ACK number is 2 instead of 0
even if ack_flag is set.
Breakpoint 3 (d_tcp.c:1557) pending.
(gdb) p co_common->ack_flag
$1 = 1 '\001'
Best,
Klaus Warnke
You're right. Thank you for the report. I'll fix it in master for the 2.0.0 release.