/install/get_addresses -- made IP address omitempty
This commit is contained in:
parent
d3e81c47f6
commit
f2b3c3a14c
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue