[
https://issues.jboss.org/browse/JGRP-1925?page=com.atlassian.jira.plugin....
]
Robert Bissett commented on JGRP-1925:
--------------------------------------
From jgroups users thread:
--- begin ---
Using version 3.4.7.Final, FixedMembershipToken#authenticate uses this code to get the
address portion of a source address:
String sourceAddressWithPort = src.toString();
String sourceAddressWithoutPort = sourceAddressWithPort.substring(0,
sourceAddressWithPort.indexOf(":"));
With ipv6, my source address is "fe80:0:0:0:20c:29ff:fe4d:e0c4%0:7800" and so
sourceAddressWithoutPort becomes "fe80".
--- end ---
Bela suggested: "Yes, this won't work with IPv6. Instead of indexOf(),
lastIndexOf() should probably be used. You could submit a PR to get this fixed, but on
master."
support ipv6 in FixedMembershipToken
------------------------------------
Key: JGRP-1925
URL:
https://issues.jboss.org/browse/JGRP-1925
Project: JGroups
Issue Type: Feature Request
Affects Versions: 3.6.3
Reporter: Robert Bissett
Assignee: Bela Ban
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)