Commit d9afbf28 authored by Philip Withnall's avatar Philip Withnall

stun: Make a warning message more prominent

Since dropping a STUN message due to having insufficient buffer space in
libstun can cause ICE negotiation to fail. So we want it to be more
obvious in the logs.
parent 8d53e347
...@@ -522,7 +522,7 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg, ...@@ -522,7 +522,7 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg,
} }
} }
if (saved_id_idx == STUN_AGENT_MAX_SAVED_IDS) { if (saved_id_idx == STUN_AGENT_MAX_SAVED_IDS) {
stun_debug ("Saved ids full"); stun_debug ("WARNING: Saved IDs full. STUN message dropped.");
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment