Summary: | ASTERISK-23834: res_rtp_asterisk debug message gives wrong length if ICE | ||
Reporter: | Richard Kenner (kenner) | Labels: | |
Date Opened: | 2014-06-08 15:17:31 | Date Closed: | 2014-06-23 13:50:44 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_rtp_asterisk |
Versions: | 12.2.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | The length output by ast_rtp_raw_write in the debug output is the value returned by rtp_sendto minus 12. But in the case of rtp->ice, __rtp_sendto returns 0 on success, not the length written.
The proper fix is probably just to change the "return 0" to "return len", but I'm not sure. | ||
Comments: |