return error quickly if nathole make error

This commit is contained in:
fatedier
2018-05-17 00:07:56 +08:00
parent ea79e03bd0
commit 1a6cbbb2d2
4 changed files with 35 additions and 8 deletions

View File

@ -163,6 +163,7 @@ type NatHoleResp struct {
Sid string `json:"sid"`
VisitorAddr string `json:"visitor_addr"`
ClientAddr string `json:"client_addr"`
Error string `json:"error"`
}
type NatHoleSid struct {