1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-26 23:53:19 +08:00

fix typo in AddrFilters error message

License: MIT
Signed-off-by: Adam Gashlin <agashlin@gmail.com>
This commit is contained in:
Adam Gashlin
2015-12-28 10:32:44 -05:00
parent 2f9c894b6d
commit 31788f634f

View File

@ -147,7 +147,7 @@ func (n *IpfsNode) startOnlineServices(ctx context.Context, routingOption Routin
for _, s := range cfg.Swarm.AddrFilters {
f, err := mamask.NewMask(s)
if err != nil {
return fmt.Errorf("incorrectly formatter address filter in config: %s", s)
return fmt.Errorf("incorrectly formatted address filter in config: %s", s)
}
addrfilter = append(addrfilter, f)
}