changeset 541:f64ce05c68af draft

peer2anonet: pubkey added to autoconf tests
author d3v1150m471c <d3v11@d3v1150m471c.ano>
date Sun, 10 Jul 2011 08:32:02 -0500
parents 3e16925cf138
children 32741b02849b
files contrib/peer2anonet/peer2anonet
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/peer2anonet/peer2anonet	Sun Jul 10 08:29:56 2011 -0500
+++ b/contrib/peer2anonet/peer2anonet	Sun Jul 10 08:32:02 2011 -0500
@@ -42,7 +42,7 @@
 # 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]}