, IPv6 is preferred to IPv4, this is indicated using preference values 30,40 > 10.
But the comment says, that link local is preferred to global. This is reflected by the value for link local, 30, being larger than the value for global, 40.
Shouldn't these two values be the other way round?
According to the comment at https://github.com/jitsi/ice4j/blob/28a23e1859b4f7383cb014642a683c5fb482bf36/src/main/java/org/ice4j/ice/Candidate.java#L558
, IPv6 is preferred to IPv4, this is indicated using preference values 30,40 > 10.
But the comment says, that link local is preferred to global. This is reflected by the value for link local, 30, being larger than the value for global, 40.
Shouldn't these two values be the other way round?