mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
chan_sip: DEBUG messages in sdp_crypto.c display despite a DEBUG level of zero
Change debug level for messages in sdp_crypto.c from zero to one. This ensures the messages are not displayed when debugging is disabled. Change does not apply to 12+ as it was already fixed in those versions. ASTERISK-23246 #close Reported by: Rusty Newton Review: https://reviewboard.asterisk.org/r/3605/ ........ Merged revisions 415908 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@415915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -282,7 +282,7 @@ int sdp_crypto_process(struct sdp_crypto *p, const char *attr, struct ast_rtp_in
|
||||
}
|
||||
|
||||
if (!p->tag) {
|
||||
ast_log(LOG_DEBUG, "Accepting crypto tag %s\n", tag);
|
||||
ast_debug(1, "Accepting crypto tag %s\n", tag);
|
||||
p->tag = ast_strdup(tag);
|
||||
if (!p->tag) {
|
||||
ast_log(LOG_ERROR, "Could not allocate memory for tag\n");
|
||||
@@ -307,7 +307,7 @@ int sdp_crypto_offer(struct sdp_crypto *p, int taglen)
|
||||
return -1;
|
||||
}
|
||||
|
||||
ast_log(LOG_DEBUG, "Crypto line: %s", p->a_crypto);
|
||||
ast_debug(1, "Crypto line: %s", p->a_crypto);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user