fixes a ClassCastException when handling incoming checks

This commit is contained in:
emcho 2010-05-18 13:31:54 +00:00
parent b954328af7
commit 489b444b69
2 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ class ConnectivityCheckServer
else if(!parentAgent.isControlling()
&& req.contains(Attribute.ICE_CONTROLLED))
{
IceControllingAttribute controlled = (IceControllingAttribute)
IceControllingAttribute controlled = (IceControlledAttribute)
req.getAttribute(Attribute.ICE_CONTROLLED);
long theirTieBreaker = controlled.getTieBreaker();

View File

@ -562,7 +562,7 @@ public class StunStack
{
Response error;
logger.log(Level.FINER, "Received an invalid request.", t);
logger.log(Level.INFO, "Received an invalid request.", t);
if(t instanceof IllegalArgumentException)
{