mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-03-18 12:34:25 +00:00
Add omitempty for listen_port
This commit is contained in:
parent
70b4577dbe
commit
c57ea9e47c
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ type InboundOptions struct {
|
|||
|
||||
type ListenOptions struct {
|
||||
Listen ListenAddress `json:"listen"`
|
||||
ListenPort uint16 `json:"listen_port"`
|
||||
ListenPort uint16 `json:"listen_port,omitempty"`
|
||||
TCPFastOpen bool `json:"tcp_fast_open,omitempty"`
|
||||
UDPTimeout int64 `json:"udp_timeout,omitempty"`
|
||||
InboundOptions
|
||||
|
|
Loading…
Add table
Reference in a new issue