func GetRemoteAddress(c network.ConnectionStats) (util.Address, uint16) {
	remoteIP := c.Dest
	remotePort := c.DPort

	if c.IPTranslation != nil && c.IPTranslation.ReplSrcIP != nil {
		// Fields are flipped
		remoteIP = c.IPTranslation.ReplSrcIP
		remotePort = c.IPTranslation.ReplSrcPort
	}
	return remoteIP, remotePort
}
// GetRemoteAddress returns the translated (remote ip, remote port) pair
GetRemoteAddress returns the translated (remote ip, remote port) pair
// GetRemoteAddress returns the translated ( remote ip remote port ) pair
func GetRemoteAddress(c network.ConnectionStats) (util.Address, uint16) {
	remoteIP := c.Dest
	remotePort := c.DPort
	if c.IPTranslation != nil && c.IPTranslation.ReplSrcIP != nil {
		remoteIP = c.IPTranslation.ReplSrcIP
		remotePort = c.IPTranslation.ReplSrcPort
	}
	return remoteIP, remotePort
}
func GetRemoteAddress ( c network . ConnectionStats ) ( util . Address , uint16 ) { remoteIP := c . Dest remotePort := c . DPort if c . IPTranslation != nil && c . IPTranslation . ReplSrcIP != nil { remoteIP = c . IPTranslation . ReplSrcIP remotePort = c . IPTranslation . ReplSrcPort } return remoteIP , remotePort }
GetRemoteAddress returns the translated (remote ip, remote port) pair
GetRemoteAddress returns the translated ( remote ip remote port ) pair
// Fields are flipped