Fix format string

This commit is contained in:
Frank Denis 2018-02-15 00:46:47 +01:00
parent 8ce8deb959
commit 29f1c4c662
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ func FetchCurrentDNSCryptCert(proxy *Proxy, serverName *string, proto string, pk
tsBegin := binary.BigEndian.Uint32(binCert[116:120])
tsEnd := binary.BigEndian.Uint32(binCert[120:124])
if tsBegin >= tsEnd {
dlog.Warnf("[%v] certificate ends before it starts")
dlog.Warnf("[%v] certificate ends before it starts (%v >= %v)", providerName, tsBegin, tsEnd)
continue
}
ttl := tsEnd - tsBegin