/install/get_addresses -- made IP address omitempty

This commit is contained in:
Eugene Bujak 2019-02-01 18:59:42 +03:00
parent d3e81c47f6
commit f2b3c3a14c
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ func handleSafeSearchStatus(w http.ResponseWriter, r *http.Request) {
}
type ipport struct {
IP string `json:"ip"`
IP string `json:"ip,omitempty"`
Port int `json:"port"`
Warning string `json:"warning"`
}