aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/_ak_network_incoming3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/_ak_network_incoming b/lib/_ak_network_incoming
index 12384a3..f3e675e 100755
--- a/lib/_ak_network_incoming
+++ b/lib/_ak_network_incoming
@@ -46,9 +46,10 @@ function _ak_network_incoming_scan(){
counter=0
count=0
_ak_fm_sort_uniq_file ${AK_ZPEERSINCOMING}
- max="$(cat ${AK_ZPEERSINCOMING}|wc -l)"
+ max="$(cat ${AK_ZPEERSINCOMING}|grep -v '\.'|wc -l)"
printf '[' > walk.aknet
cat ${AK_ZPEERSINCOMING} \
+ | grep -v '\.' \
| sort \
| uniq \
| while read -r uip || [ -n "$uip" ]