Bug preventing as4.0 to expand fixed.

This commit is contained in:
snar
2010-10-08 15:29:31 +00:00
parent 49192953d8
commit 8b99b67b4c
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
0.1.12 (2010-10-08)
- Fixed bug preventing AS262144 (that's AS4.0 in asdot) to expand.
Thanks to Sergey Matveychuk
0.1.11 (2010-04-19)
- Fixed another bug in aggregation (-A) mode, thanks to Dmitry Tejblum.

View File

@@ -118,7 +118,7 @@ bgpq_expander_add_as(struct bgpq_expander* b, char* as)
*eoa, as);
return 0;
};
if(asn1<1 || asn1>65535) {
if(asn1>65535) {
sx_report(SX_ERROR,"Invalid AS number in %s\n", as);
return 0;
};