From 39ab1e1ea7ceaea5993cd733cecc2d4a092032aa Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 30 Sep 2017 13:03:49 +0200 Subject: [PATCH] When using the Pi-hole DHCP server, local host names are called "something.local". Thir PR ensures that clients that are connected via VPN are augmented by a similar suffix like "someother.vpn". Signed-off-by: DL6ER --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 8719885c..f4b5fc36 100755 --- a/gravity.sh +++ b/gravity.sh @@ -503,7 +503,7 @@ gravity_ParseLocalDomains() { # Add additional LAN hosts provided by OpenVPN (if available) if [[ -f "${VPNList}" ]]; then - awk -F, '{printf $2"\t"$1"\n"}' "${VPNList}" >> "${localList}" + awk -F, '{printf $2"\t"$1".vpn\n"}' "${VPNList}" >> "${localList}" fi }