mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-29 10:28:53 +03:00
/install/get_addresses -- made IP address omitempty
This commit is contained in:
parent
d3e81c47f6
commit
f2b3c3a14c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue