[asterisk-bugs] [JIRA] (ASTERISK-23861) res_rtp_asterisk debug message gives wrong length if ICE
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Thu Jun 12 09:15:57 CDT 2014
Rusty Newton created ASTERISK-23861:
---------------------------------------
Summary: res_rtp_asterisk debug message gives wrong length if ICE
Key: ASTERISK-23861
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23861
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