Skip to content

Commit

Permalink
Add ip6 interface to default config
Browse files Browse the repository at this point in the history
  • Loading branch information
spikebike committed Jun 12, 2015
1 parent 41785f3 commit ad93757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func defaultRepo() (repo.Repo, error) {
}

c.Bootstrap = cfg.DefaultBootstrapAddresses
c.Addresses.Swarm = []string{"/ip4/0.0.0.0/tcp/4001"}
c.Addresses.Swarm = []string{"/ip4/0.0.0.0/tcp/4001","/ip6/::/tcp/4001"}
c.Identity.PeerID = key.Key(data).B58String()
c.Identity.PrivKey = base64.StdEncoding.EncodeToString(privkeyb)

Expand Down

0 comments on commit ad93757

Please sign in to comment.