fix: using key as link suffix for output

This commit is contained in:
Daniel Ding
2024-04-07 20:40:00 +08:00
parent 7fbcd665b1
commit 09a99aa645
2 changed files with 19 additions and 10 deletions

View File

@@ -5,5 +5,5 @@ type Output struct {
Protocol string `json:"protocol"` // gre, vxlan, etc.
Remote string `json:"remote"`
DstPort int `json:"dstport,omitempty"`
Link string `json:"link"` // link name
Link string `json:"link,omitempty"` // link name
}