File tree Expand file tree Collapse file tree
src/java/org/ifsoft/galene/openfire Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343Galene Plugin Changelog
4444</ h1 >
4545
46+ < p > < b > 0.9.7</ b > -- July 10 2026 </ p >
47+ < ul >
48+ < li > Fix the invalid ipv6 ip address issue</ li >
49+ </ ul >
50+
4651< p > < b > 0.9.6</ b > -- April 10 2026 </ p >
4752< ul >
4853 < li > Update Galene code to latest</ li >
Original file line number Diff line number Diff line change 1212
1313 <groupId >org.igniterealtime.openfire</groupId >
1414 <artifactId >galene</artifactId >
15- <version >0.9.6-SNAPSHOT </version >
15+ <version >0.9.7 </version >
1616
1717 <properties >
1818 </properties >
Original file line number Diff line number Diff line change @@ -166,6 +166,10 @@ public static String getIpAddress() {
166166
167167 try {
168168 ourIpAddress = InetAddress .getByName (ourHostname ).getHostAddress ();
169+
170+ if (ourIpAddress != null && ourIpAddress .contains (":" ) && !ourIpAddress .startsWith ("[" )) {
171+ ourIpAddress = "[" + ourIpAddress + "]" ;
172+ }
169173 } catch (Exception e ) {
170174
171175 }
You can’t perform that action at this time.
0 commit comments