diff --git a/adapter/adapter.go b/adapter/adapter.go index db54bbe..020fe91 100644 --- a/adapter/adapter.go +++ b/adapter/adapter.go @@ -94,6 +94,7 @@ func (p *Proxy) MarshalJSON() ([]byte, error) { mapping := map[string]any{} json.Unmarshal(inner, &mapping) mapping["history"] = p.DelayHistory() + mapping["alive"] = p.Alive() mapping["name"] = p.Name() mapping["udp"] = p.SupportUDP() return json.Marshal(mapping)