Skip to content

Commit 158f3dc

Browse files
committed
release 0.9.7
1 parent faed3a1 commit 158f3dc

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

changelog.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ <h1>
4343
Galene 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>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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>

src/java/org/ifsoft/galene/openfire/Galene.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)