diff options
author | d3v1150m471c <d3v11@d3v1150m471c.ano> | 2011-07-10 08:32:02 -0500 |
---|---|---|
committer | d3v1150m471c <d3v11@d3v1150m471c.ano> | 2011-07-10 08:32:02 -0500 |
commit | 9263af5440c588cfa731be9c0b81956c1b050b61 (patch) | |
tree | f277f13e6fac273a0c0cb7bf11ce25ad55907a2c /contrib/peer2anonet | |
parent | 1ab077f7aee31496b366da161babc3f4c7b507c3 (diff) | |
download | resdb-9263af5440c588cfa731be9c0b81956c1b050b61.tar.gz resdb-9263af5440c588cfa731be9c0b81956c1b050b61.zip |
peer2anonet: pubkey added to autoconf tests
Diffstat (limited to 'contrib/peer2anonet')
-rw-r--r-- | contrib/peer2anonet/peer2anonet | 2 |
1 files changed, 1 insertions, 1 deletions
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]} |