chore: cleanup code

This commit is contained in:
gVisor bot 2023-09-18 19:42:08 +08:00
parent 42e6fc54dd
commit fd3ba21a8f

View file

@ -63,7 +63,6 @@ type General struct {
EBpf EBpf `json:"-"` EBpf EBpf `json:"-"`
GlobalClientFingerprint string `json:"global-client-fingerprint"` GlobalClientFingerprint string `json:"global-client-fingerprint"`
GlobalUA string `json:"global-ua"` GlobalUA string `json:"global-ua"`
KeepAliveInterval int `json:"keep-alive-interval"`
} }
// Inbound config // Inbound config
@ -646,7 +645,6 @@ func parseGeneral(cfg *RawConfig) (*General, error) {
EBpf: cfg.EBpf, EBpf: cfg.EBpf,
GlobalClientFingerprint: cfg.GlobalClientFingerprint, GlobalClientFingerprint: cfg.GlobalClientFingerprint,
GlobalUA: cfg.GlobalUA, GlobalUA: cfg.GlobalUA,
KeepAliveInterval: cfg.KeepAliveInterval,
}, nil }, nil
} }