fixes a ClassCastException when handling incoming checks
This commit is contained in:
parent
b954328af7
commit
489b444b69
@ -225,7 +225,7 @@ class ConnectivityCheckServer
|
|||||||
else if(!parentAgent.isControlling()
|
else if(!parentAgent.isControlling()
|
||||||
&& req.contains(Attribute.ICE_CONTROLLED))
|
&& req.contains(Attribute.ICE_CONTROLLED))
|
||||||
{
|
{
|
||||||
IceControllingAttribute controlled = (IceControllingAttribute)
|
IceControllingAttribute controlled = (IceControlledAttribute)
|
||||||
req.getAttribute(Attribute.ICE_CONTROLLED);
|
req.getAttribute(Attribute.ICE_CONTROLLED);
|
||||||
|
|
||||||
long theirTieBreaker = controlled.getTieBreaker();
|
long theirTieBreaker = controlled.getTieBreaker();
|
||||||
|
|||||||
@ -562,7 +562,7 @@ public class StunStack
|
|||||||
{
|
{
|
||||||
Response error;
|
Response error;
|
||||||
|
|
||||||
logger.log(Level.FINER, "Received an invalid request.", t);
|
logger.log(Level.INFO, "Received an invalid request.", t);
|
||||||
|
|
||||||
if(t instanceof IllegalArgumentException)
|
if(t instanceof IllegalArgumentException)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user