fix crash for tun

This commit is contained in:
ginuerzh
2023-11-19 14:39:24 +08:00
parent 74639e9c4e
commit c95edd6ed3
2 changed files with 10 additions and 2 deletions

View File

@ -60,7 +60,8 @@ func (h *tunnelHandler) parseMetadata(md mdata.Metadata) (err error) {
h.md.ingress = xingress.NewIngress(
xingress.RulesOption(rules),
xingress.LoggerOption(logger.Default().WithFields(map[string]any{
"kind": "ingress",
"kind": "ingress",
"ingress": "@internal",
})),
)
}