gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: exclude SOA-only zones


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: exclude SOA-only zones
Date: Sat, 26 May 2018 18:11:31 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 4b8ed8fd1 exclude SOA-only zones
4b8ed8fd1 is described below

commit 4b8ed8fd1560491f60481fef6c1da660ce7d54fe
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat May 26 18:11:21 2018 +0200

    exclude SOA-only zones
---
 contrib/scripts/zonewalk-to-types.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/scripts/zonewalk-to-types.sh 
b/contrib/scripts/zonewalk-to-types.sh
index 54c887b8f..dfe15a8e3 100755
--- a/contrib/scripts/zonewalk-to-types.sh
+++ b/contrib/scripts/zonewalk-to-types.sh
@@ -10,7 +10,7 @@ NUM_CLIENTS=3
 # FILE ($1) contains results from DNS lookup; strip
 # everything but the hostnames, remove duplicates
 # and then randomize the order.
-cat $1 | awk '{print $1}' | sort | uniq | shuf > $1.tmp
+cat $1 | grep -v SOA | awk '{print $1}' | sort | uniq | shuf > $1.tmp
 TOTAL=`cat $1.tmp | wc -l`
 GROUP_SIZE=`expr $TOTAL / \( $NUM_CLIENTS + 1 \)`
 echo "Creating $NUM_CLIENTS benchmark sets with 2x $GROUP_SIZE entries each."

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]