mirror of
https://github.com/bgp/bgpq4.git
synced 2024-05-11 05:55:05 +00:00
bugfix provided by Sergey Gonchar.
This commit is contained in:
2
CHANGES
2
CHANGES
@ -1,3 +1,5 @@
|
||||
0.1.10 (2009-06-13)
|
||||
- Fixed bug in aggregation (-A) mode, thanks to Sergey Gonchar.
|
||||
|
||||
0.1.9 (2009-03-27)
|
||||
- RIPE changed ASN32 notation to asplain. And RADB does not support
|
||||
|
6
bgpq3.8
6
bgpq3.8
@ -21,7 +21,7 @@
|
||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\" "$Id: bgpq3.8,v 1.4 2008/12/25 17:17:05 snar Exp $
|
||||
.\" "$Id: bgpq3.8,v 1.5 2009/07/13 10:22:05 snar Exp $
|
||||
.\"
|
||||
.Dd Oct 27, 2008
|
||||
.Dt BGPQ3 8
|
||||
@ -45,7 +45,7 @@
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
ultility used to generate Cisco and Juniper prefix-lists, extended
|
||||
utility used to generate Cisco and Juniper prefix-lists, extended
|
||||
access-lists, policy-statement terms and as-path lists based on RADB data.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
@ -213,7 +213,7 @@ ip as-path access-list NN permit ^112(_[0-9]+)*_(35052|41720|43628|44450)$
|
||||
AS196611 is no more in the list, however, AS23456 (transition AS)
|
||||
would be added to list if it were not present.
|
||||
.Sh DIAGNOSTICS
|
||||
When everyting is ok,
|
||||
When everything is OK,
|
||||
.Nm
|
||||
generates access-list to standard output and exits with status == 0.
|
||||
In case of errors they are printed to stderr and program exits with
|
||||
|
@ -524,7 +524,9 @@ sx_radix_node_aggregate(struct sx_radix_node* node)
|
||||
if(node->r->son && node->l->son &&
|
||||
node->r->son->isAggregate && node->l->son->isAggregate &&
|
||||
node->r->son->aggregateHi==node->l->son->aggregateHi &&
|
||||
node->r->son->aggregateLow==node->l->son->aggregateLow)
|
||||
node->r->son->aggregateLow==node->l->son->aggregateLow &&
|
||||
node->r->prefix.masklen==node->prefix.masklen+1 &&
|
||||
node->l->prefix.masklen==node->prefix.masklen+1)
|
||||
{
|
||||
node->son=sx_radix_node_new(&node->prefix);
|
||||
node->son->isGlue=0;
|
||||
|
Reference in New Issue
Block a user