changeset 560:715d71f7a556 draft

Merge commit 'f33a674a40494a2ea657ce78fe2f6f0a543ab95e'
author Nick <nick@somerandomnick.ano>
date Thu, 14 Jul 2011 21:02:21 +0000
parents f87ef378a4b7 (current diff) 2c5cbb7737b6 (diff)
children dcf6e49fac2a 921addbedfc2
files
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;