Commit 1bad8c23 authored by Nemanja Zbiljić's avatar Nemanja Zbiljić Committed by GitHub

IPv6 default host address be same as for IPv4 (#1167)

parent 496b2320
...@@ -85,7 +85,7 @@ func New(ctx context.Context, signer beecrypto.Signer, networkID uint64, overlay ...@@ -85,7 +85,7 @@ func New(ctx context.Context, signer beecrypto.Signer, networkID uint64, overlay
} }
ip4Addr := "0.0.0.0" ip4Addr := "0.0.0.0"
ip6Addr := "::1" ip6Addr := "::"
if host != "" { if host != "" {
ip := net.ParseIP(host) ip := net.ParseIP(host)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment