Skip to content

Commit

Permalink
Make Unknown the NetworkReachability default value
Browse files Browse the repository at this point in the history
Co-authored-by: Tanguy <tanguy@status.im>
  • Loading branch information
diegomrsantos and Menduist authored Mar 27, 2023
1 parent 8988e68 commit 34f5f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libp2p/protocols/connectivity/autonat/core.nim
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type
response*: Option[AutonatDialResponse]

NetworkReachability* {.pure.} = enum
NotReachable, Reachable, Unknown
Unknown, NotReachable, Reachable

proc encode(p: AutonatPeerInfo): ProtoBuffer =
result = initProtoBuffer()
Expand Down

0 comments on commit 34f5f0d

Please sign in to comment.