- moved timeout handling responsibility from for nat tests from caller to the library
[oweals/gnunet.git] / src / cadet / run_profiler.sh
index aba6ce4d4a98cf22b824006b85ccd312e135dea5..ed78d1206d8b3f16557a314a72dd60a5e83770ea 100755 (executable)
@@ -15,7 +15,7 @@ if [ $PEERS -eq 1 ]; then
     exit 1;
 fi
 
-LINKS=`echo "l($PEERS)/l(2) * $PEERS" | bc -l`
+LINKS=`echo "l($PEERS) * l($PEERS) * $PEERS / 2" | bc -l`
 LINKS=`printf "%.0f" $LINKS`
 NSE=`echo "l($PEERS)/l(2)" | bc -l`
 echo "using $PEERS peers, $LINKS links";