Skip to content

Commit

Permalink
Removed /0 from default IP6Address
Browse files Browse the repository at this point in the history
Signed-off-by: pierantoniomerlino <[email protected]>
  • Loading branch information
pierantoniomerlino committed Sep 25, 2023
1 parent d4ffa48 commit 810e5f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class IP6Address extends IPAddress {
* @since 2.6
*/
public static IP6Address getDefaultAddress() throws UnknownHostException {
return (IP6Address) IPAddress.parseHostAddress("::/0");
return (IP6Address) IPAddress.parseHostAddress("::");
}

/**
Expand Down

0 comments on commit 810e5f5

Please sign in to comment.