From 1291bdaf614cca833a3256932c6757801792a211 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 8 Feb 2016 16:39:54 +0100 Subject: [PATCH] Show forwarding as extra data Refs #292 --- app/src/main/java/eu/faircode/netguard/SinkholeService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/netguard/SinkholeService.java b/app/src/main/java/eu/faircode/netguard/SinkholeService.java index c5faa79d..7a49414b 100644 --- a/app/src/main/java/eu/faircode/netguard/SinkholeService.java +++ b/app/src/main/java/eu/faircode/netguard/SinkholeService.java @@ -1169,8 +1169,7 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS allowed = new Allowed(); } else { allowed = new Allowed(fwd.raddr, fwd.rport); - packet.daddr = fwd.raddr; - packet.dport = fwd.rport; + packet.data = "> " + fwd.raddr + ":" + fwd.rport; } } else allowed = new Allowed();