From 22788c17d992b711a63067b324dd993aeafc07d0 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 24 Jun 2024 06:44:21 +0300 Subject: Exclude our address from being scanned --- lib/_ak_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/_ak_network b/lib/_ak_network index 76af4c0..aa8105e5 100755 --- a/lib/_ak_network +++ b/lib/_ak_network @@ -152,11 +152,11 @@ _ak_network_scan_cjdns(){ counter=0 printf '[' > walk.aknet dumpLinks \ - | grep -v '0000\.0000\.0000\.0001 ' \ | cut -d ' ' -f 2,4 \ | sed 's/ /\n/g' \ | sort \ | uniq \ + | grep -v `dumpLinks | grep '0000\.0000\.0000\.0001' | cut -d ' ' -f 2` \ | while read -r ip || [ -n "$ip" ] do _ak_log_debug "Scanning $(publictoip6 $ip)..." -- cgit v1.2.3