From 1c0355d3e87993c8a3c9773833d70748d2c0f177 Mon Sep 17 00:00:00 2001 From: vyzo Date: Mon, 7 May 2018 12:08:13 +0300 Subject: [PATCH] typed NATStatus constants --- p2p/host/autonat/autonat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/host/autonat/autonat.go b/p2p/host/autonat/autonat.go index 6f3ecd38..4c0212cb 100644 --- a/p2p/host/autonat/autonat.go +++ b/p2p/host/autonat/autonat.go @@ -15,7 +15,7 @@ import ( type NATStatus int const ( - NATStatusUnknown = iota + NATStatusUnknown NATStatus = iota NATStatusPublic NATStatusPrivate )