Skip to content

Commit 49fe4a6

Browse files
committed
Store modified 'from' node
1 parent 39721d8 commit 49fe4a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

probe/endpoint/nat.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ func (n natMapper) applyNAT(rpt report.Report, scope string) {
114114
if replySrcID != toID {
115115
fromNode.Adjacency = fromNode.Adjacency.Minus(toID)
116116
fromNode = fromNode.WithAdjacent(replySrcID)
117+
rpt.Endpoint.Nodes[fromID] = fromNode
117118

118119
// add nat original destination as a copy of nat reply source
119120
replySrcNode, ok := rpt.Endpoint.Nodes[replySrcID]

0 commit comments

Comments
 (0)