aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_network
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_ak_network')
-rwxr-xr-xlib/_ak_network2
1 files changed, 1 insertions, 1 deletions
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)..."