Fix two bugs in asset_ilines.py

- use .wrap, not .fill when printing AS-SET
- fix a bug when one does not add '-l' (LOCAL) asns, populate the LOCAL as-set with a string, not an int.


git-svn-id: svn+ssh://svn.ipng.nl/usr/share/subversion/repositories/ircnet.ipng.ch@58 c5d60b8d-fdcb-4146-b734-af4215e9eb71
This commit is contained in:
ircnet
2011-03-12 22:51:51 +00:00
parent 93b976a237
commit be934a26fe
2 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ function bitcron_main()
do_asn $ASN_LIST 250 1300 || error "ilines.asn.conf failed"
echo "Gathering I-Lines for AS-SETs"
do_asset AS-IP-MAN-PEERING-TIX,AS-IP-MAN-PEERING-CIXP,AS-IP-MAN-PEERING-SWISSIX 300 1300 || error "ilines.as-set.conf failed"
do_asset AS-IP-MAN-PEERING-TIX,AS-IP-MAN-PEERING-CIXP,AS-IP-MAN-PEERING-SWISSIX,AS-BIT 300 1300 || error "ilines.as-set.conf failed"
if [ $ERR -eq 0 ]; then
echo "This is what we've got:"