# HG changeset patch # User Nick # Date 1310677341 0 # Node ID 715d71f7a556fdfdfdda2a52d0d6cbc4c09fa872 # Parent f87ef378a4b76ea4162f85c78e365a3ab15a90db# Parent 2c5cbb7737b66a0d241fb4866904baa03486306a Merge commit 'f33a674a40494a2ea657ce78fe2f6f0a543ab95e' diff -r f87ef378a4b7 -r 715d71f7a556 contrib/peer2anonet/peer2anonet --- a/contrib/peer2anonet/peer2anonet Thu Jul 14 20:11:41 2011 +0000 +++ b/contrib/peer2anonet/peer2anonet Thu Jul 14 21:02:21 2011 +0000 @@ -42,7 +42,6 @@ " exit 1 fi -done if [[ $(echo "$PUBKEY" | tr -d 'a-zA-Z0-9' | wc -c) -gt 1 ]]; then echo "peer2anonet: fatal error: unacceptable data: ${TEST[$X]} @@ -55,7 +54,7 @@ ######################################################################### # We need to check if base files need to be imported to services for bird: NEW_PROTOCOL=" -protocol bgp $PEERNAME'_bgp' { table AnoNet_routes; +protocol bgp $PEERNAME\_bgp { table AnoNet_routes; local as $P2A_ASN; neighbor $PEERIP as $PEERASN; source address $P2A_IP;