node: Serialize and deserialize ipv6 addresses in square brackets
Completely forgot about serialization in 5ba439004894d9a6e62bc439a8530e4981f7912d.
This should fix parsing of IPv6 addresses for example in config.json
1 file changed
+15
-1
addce859
→
a2e72b48
modified crates/radicle/src/node.rs
@@ -427,6 +427,7 @@ impl TryFrom<&sqlite::Value> for Alias {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -436,7 +437,6 @@ impl TryFrom<&sqlite::Value> for Alias {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -526,6 +526,20 @@ impl Display for Address {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|