From f7fb5840cfaf0e29e2967c6a9258115bdc146d56 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Tue, 6 Dec 2022 08:23:30 +0800 Subject: [PATCH] fix: reorder metadata --- constant/metadata.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/constant/metadata.go b/constant/metadata.go index 278304bd..359329f9 100644 --- a/constant/metadata.go +++ b/constant/metadata.go @@ -125,15 +125,15 @@ type Metadata struct { DstPort string `json:"destinationPort"` InIP netip.Addr `json:"inboundIP"` InPort string `json:"inboundPort"` + InName string `json:"inboundName"` Host string `json:"host"` DNSMode DNSMode `json:"dnsMode"` Uid *uint32 `json:"uid"` Process string `json:"process"` ProcessPath string `json:"processPath"` SpecialProxy string `json:"specialProxy"` - RemoteDst string `json:"remoteDestination"` - InName string `json:"inboundName"` SpecialRules string `json:"specialRules"` + RemoteDst string `json:"remoteDestination"` } func (m *Metadata) RemoteAddress() string {