Skip to content

Commit 528f635

Browse files
authored
Make IPv6 integer representation public. (#456)
- We did this for IPv4 so we could bit bash addresses, but forgot to make the corresponding change for IPv6.
1 parent 5ac4066 commit 528f635

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sources/ContainerizationExtras/IPv6Address.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616

1717
/// Represents an IPv6 network address conforming to RFC 5952 and RFC 4291.
1818
public struct IPv6Address: Sendable, Hashable, CustomStringConvertible, Equatable, Comparable, Codable {
19-
@usableFromInline
20-
internal let value: UInt128
19+
public let value: UInt128
2120

22-
@usableFromInline
23-
internal let zone: String?
21+
public let zone: String?
2422

2523
/// Creates an IPv6Address by parsing a string representation.
2624
///

0 commit comments

Comments
 (0)