diff options
author | Nick <nick@somerandomnick.ano> | 2011-07-14 21:02:21 +0000 |
---|---|---|
committer | Nick <nick@somerandomnick.ano> | 2011-07-14 21:02:21 +0000 |
commit | bd41b8f851b21e0dcbe6f5133e4ad7e767753ebf (patch) | |
tree | 373cd25bd6cc92fadf919e791a1a082e191af1b7 | |
parent | 9c017188849e14e14f90f5630091a293cb8c1654 (diff) | |
parent | f33a674a40494a2ea657ce78fe2f6f0a543ab95e (diff) | |
download | resdb-bd41b8f851b21e0dcbe6f5133e4ad7e767753ebf.tar.gz resdb-bd41b8f851b21e0dcbe6f5133e4ad7e767753ebf.zip |
Merge commit 'f33a674a40494a2ea657ce78fe2f6f0a543ab95e'
-rw-r--r-- | contrib/peer2anonet/peer2anonet | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index 31d0a4a..e01c8ad 100644 --- a/contrib/peer2anonet/peer2anonet +++ b/contrib/peer2anonet/peer2anonet @@ -42,7 +42,6 @@ if [[ $(echo "$PEERASN" | tr -d '0-9' | wc -c) -gt 1 ]]; then " 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 @@ REM_PORT="2$(($P2A_ASN % 10000))" ######################################################################### # 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; |