fixes a ClassCastException when handling incoming checks
This commit is contained in:
parent
489b444b69
commit
f948c50706
@ -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 = (IceControlledAttribute)
|
IceControlledAttribute controlled = (IceControlledAttribute)
|
||||||
req.getAttribute(Attribute.ICE_CONTROLLED);
|
req.getAttribute(Attribute.ICE_CONTROLLED);
|
||||||
|
|
||||||
long theirTieBreaker = controlled.getTieBreaker();
|
long theirTieBreaker = controlled.getTieBreaker();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user