From 5a65a3a0843b5a8f989471ec0b28cc3b77c8311e Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 14 Jan 2018 00:17:46 +0100 Subject: [PATCH] Correct format --- dnscrypt-proxy/serversInfo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/serversInfo.go b/dnscrypt-proxy/serversInfo.go index 4b4d88cd..9a9cf704 100644 --- a/dnscrypt-proxy/serversInfo.go +++ b/dnscrypt-proxy/serversInfo.go @@ -32,7 +32,7 @@ type RegisteredServer struct { func NewServerStampFromLegacy(serverAddrStr string, serverPkStr string, providerName string) (ServerStamp, error) { if net.ParseIP(serverAddrStr) != nil { - serverAddrStr = fmt.Sprintf("%s:d", serverAddrStr, DefaultPort) + serverAddrStr = fmt.Sprintf("%s:%d", serverAddrStr, DefaultPort) } return ServerStamp{ serverAddrStr: serverAddrStr,