mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-02-06 06:00:08 +08:00
fix: use correct reachability type
This commit is contained in:
parent
9d9170e9d8
commit
4cb536b589
@ -59,7 +59,7 @@ type Reachability int
|
|||||||
const (
|
const (
|
||||||
// ReachabilityUnknown indicates that the reachability status of the
|
// ReachabilityUnknown indicates that the reachability status of the
|
||||||
// node is unknown.
|
// node is unknown.
|
||||||
ReachabilityUnknown = iota
|
ReachabilityUnknown Reachability = iota
|
||||||
|
|
||||||
// ReachabilityPublic indicates that the node is reachable from the
|
// ReachabilityPublic indicates that the node is reachable from the
|
||||||
// public internet.
|
// public internet.
|
||||||
|
Loading…
Reference in New Issue
Block a user