Skip to content

Commit

Permalink
Store modified 'from' node
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Dec 24, 2018
1 parent 39721d8 commit 49fe4a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions probe/endpoint/nat.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func (n natMapper) applyNAT(rpt report.Report, scope string) {
if replySrcID != toID {
fromNode.Adjacency = fromNode.Adjacency.Minus(toID)
fromNode = fromNode.WithAdjacent(replySrcID)
rpt.Endpoint.Nodes[fromID] = fromNode

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

0 comments on commit 49fe4a6

Please sign in to comment.