diff --git a/probe/endpoint/nat.go b/probe/endpoint/nat.go index 17992297cf..cf15fbe5c7 100644 --- a/probe/endpoint/nat.go +++ b/probe/endpoint/nat.go @@ -61,6 +61,10 @@ func (n *natmapper) applyNAT(rpt report.Report, scope string) { return } - rpt.Endpoint.Nodes[copyEndpointID] = node.Copy() + node = node.Copy() + if existing, ok := rpt.Endpoint.Nodes[copyEndpointID]; ok { + node = node.Merge(existing) + } + rpt.Endpoint.Nodes[copyEndpointID] = node }) }