[asterisk-bugs] [JIRA] (ASTERISK-23834) res_rtp_asterisk debug message gives wrong length if ICE
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Thu Jun 12 09:15:56 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rusty Newton updated ASTERISK-23834:
------------------------------------
Status: Open (was: Triage)
> 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