[asterisk-bugs] [JIRA] (ASTERISK-23834) res_rtp_asterisk debug message gives wrong length if ICE
Richard Kenner (JIRA)
noreply at issues.asterisk.org
Sun Jun 8 15:17:56 CDT 2014
Richard Kenner created ASTERISK-23834:
-----------------------------------------
Summary: res_rtp_asterisk debug message gives wrong length if ICE
Key: ASTERISK-23834
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23834
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_rtp_asterisk
Affects Versions: 12.2.0
Reporter: Richard Kenner
Severity: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list