summaryrefslogtreecommitdiffstats
path: root/lib/libalias
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalias')
-rw-r--r--lib/libalias/alias.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalias/alias.c b/lib/libalias/alias.c
index e02957f..42ce618 100644
--- a/lib/libalias/alias.c
+++ b/lib/libalias/alias.c
@@ -884,6 +884,7 @@ TcpAliasIn(struct libalias *la, struct ip *pip)
/* Restore original IP address */
accumulate = twowords(&pip->ip_dst);
+ pip->ip_dst = original_address;
accumulate -= twowords(&pip->ip_dst);
/* If this is a transparent proxy packet, then modify the source
OpenPOWER on IntegriCloud