From 9263af5440c588cfa731be9c0b81956c1b050b61 Mon Sep 17 00:00:00 2001 From: d3v1150m471c Date: Sun, 10 Jul 2011 08:32:02 -0500 Subject: peer2anonet: pubkey added to autoconf tests --- contrib/peer2anonet/peer2anonet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/peer2anonet') diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index 389c2ac..69359b2 100644 --- a/contrib/peer2anonet/peer2anonet +++ b/contrib/peer2anonet/peer2anonet @@ -42,7 +42,7 @@ read -p "Enter your peer's public key: " PUBKEY # Do some security checks on variables: TEST[0]=$PEERNAME; TEST[1]=$YOURNET; TEST[2]=$YOURROUTE; TEST[3]=$YOURIP TEST[4]=$YOURPORT; TEST[5]=$YOURASN; TEST[6]=$REMOTEIP; TEST[7]=$PEERIP - TEST[8]=$PEERPORT; TEST[9]=$PEERASN + TEST[8]=$PEERPORT; TEST[9]=$PEERASN; TEST[10]=$PUBKEY if [[ $(echo ${TEST[0]} | tr -d 'a-zA-Z0-9._-' | wc -c) -gt 1 ]]; then echo "peer2anonet: fatal error: unacceptable data: ${TEST[0]} -- cgit v1.2.3