From eb3df1a58e871f03165a9896179ec97c87549603 Mon Sep 17 00:00:00 2001 From: Kslr Date: Mon, 3 Jun 2019 14:52:35 +0800 Subject: [PATCH] fix: json field tag syntax sync https://github.com/v2fly/v2ray-core/commit/ad4f41e1c0fd6096aa738004140ec9ca4f4db1bd --- infra/conf/dns_proxy.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/conf/dns_proxy.go b/infra/conf/dns_proxy.go index e93d1ec80..4617ead5e 100644 --- a/infra/conf/dns_proxy.go +++ b/infra/conf/dns_proxy.go @@ -7,9 +7,9 @@ import ( ) type DnsOutboundConfig struct { - Network Network `json:network` - Address *Address `json:address` - Port uint16 `json:port` + Network Network `json:"network"` + Address *Address `json:"address"` + Port uint16 `json:"port"` } func (c *DnsOutboundConfig) Build() (proto.Message, error) {