radicle/node: Do not error on IPv6 without `[]`
IPv6 addresses are already persisted in config.json files.
The parsing of these old addresses, e.g. FE80::0202:B3FF:FE1E:8329:5976 should remain valid.
Emit a warning when they are found.
The output of the address will still enclose the host in [].
3 files changed
+46
-6
c237a3fe
→
d01ff2e7
modified CHANGELOG.md
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node.rs
@@ -548,10 +548,13 @@ impl FromStr for Address {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1525,6 +1528,7 @@ mod test {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1532,7 +1536,6 @@ mod test {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified crates/radicle/src/node/config.rs
@@ -712,7 +712,7 @@ wrapper!(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -833,4 +833,32 @@ mod test {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|