diff options
author | Paul Jakma <paul@quagga.net> | 2012-03-05 11:55:53 +0000 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-03-05 11:55:53 +0000 |
commit | 9fc75742397cf942ca9d684815ce63058b2576ff (patch) | |
tree | 3655b28f06ac2bdf9639b86e2df7c3abc525cd73 /tools | |
parent | 543fb49c316df9af2d25f08ba7e0da0305c36b5e (diff) | |
parent | 5861739f8c38bc36ea9955e5cb2be2bf2f482d70 (diff) |
Merge remote-tracking branch 'quagga-gnu.org/master'
Diffstat (limited to 'tools')
-rw-r--r-- | tools/multiple-bgpd.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/multiple-bgpd.sh b/tools/multiple-bgpd.sh index d6a38ed4..20a92a91 100644 --- a/tools/multiple-bgpd.sh +++ b/tools/multiple-bgpd.sh @@ -20,7 +20,7 @@ for H in `seq 1 ${NUM}` ; do if [ ! -e "$CONF" ] ; then # This sets up a ring of bgpd peerings NEXT=$(( ($H % ${NUM}) + 1 )) - PREV=$(( (($H + 3) % ${NUM}) + 1 )) + PREV=$(( (($H + $NUM - 2) % ${NUM}) + 1 )) NEXTADDR="${PREFIX}${NEXT}" NEXTAS=$((${ASBASE} + $NEXT)) PREVADDR="${PREFIX}${PREV}" @@ -60,6 +60,7 @@ for H in `seq 1 ${NUM}` ; do neighbor ${PREVADDR} peer-group default exit-address-family ! + ! bgpd still has problems with extcommunity rt/soo route-map test permit 10 set extcommunity rt ${ASN}:1 set extcommunity soo ${ASN}:2 |