From 102b5b5365a8717c4180bdbe0e4060f500c51498 Mon Sep 17 00:00:00 2001 From: Mikhail Zakharov Date: Mon, 26 Aug 2024 22:48:41 +0200 Subject: [PATCH] `pidlist.c`: `ACT` shows destination IP-address, when internal proxy servers are used --- CHANGELOG.md | 3 ++- pidlist.c | 1 + pidlist.h | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a909247..e533c89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # CHANGELOG -* **2024.08.23 Current** +* **2024.08.26 Current** + * `pidlist.c`: `ACT` shows destination IP-address, when internal proxy servers are used * `ts-warp.c`: `-D 0..512` DPI bypass fragment size by default 0 - disabled; To enable use a positive value, e.g., 2 * **2024.08.15 ts-warp-1.5.5, gui-warp-1.0.25 (gui-warp-v1.0.30-mac), ns-warp-1.0.7** diff --git a/pidlist.c b/pidlist.c index 11b295b..79773c4 100644 --- a/pidlist.c +++ b/pidlist.c @@ -92,6 +92,7 @@ int pidlist_update_traffic(struct pid_list *root, struct traffic_data traffic) { if (c && c->pid == traffic.pid) { c->traffic.timestamp = traffic.timestamp; c->traffic.cbytes = traffic.cbytes; + c->traffic.daddr = traffic.daddr; c->traffic.dbytes = traffic.dbytes; return 0; } diff --git a/pidlist.h b/pidlist.h index 245a040..991783f 100644 --- a/pidlist.h +++ b/pidlist.h @@ -25,6 +25,7 @@ #include #include + #include "utility.h" /* ------------------------------------------------------------------------------------------------------------------ */