Skip to content

Commit

Permalink
Merge pull request v2fly#4 from boypt/fixvet
Browse files Browse the repository at this point in the history
fix: json field tag syntax
  • Loading branch information
kslr authored May 31, 2019
2 parents 1a29429 + ad4f41e commit 48f5e7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infra/conf/dns_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 48f5e7e

Please sign in to comment.