[PATCH] peer-as/remote-as directives should refer to a number, not ASnnn

Nick Hilliard nick at inex.ie
Mon Sep 14 23:17:24 UTC 2009


On 12/07/2009 17:25, Nick Hilliard wrote:
> On 05/07/2009 22:26, Faidon Liambotis wrote:
>> This serves as a temporary fix for #34; Nick has expressed some concern
>> over the way things are being handled right now in the library and that
>> it should be fixed there, rather than being workarounded in rtconfig.
>>
>> However, there's no harm done in having something working sooner than
>> later, even if in a hackish way.
>
> I'm not going to commit this. The library fix is as follows:
>
>> --- src/rpsl/rpsl_filter.cc (revision 281)
>> +++ src/rpsl/rpsl_filter.cc (working copy)
>> @@ -105,7 +105,7 @@
>> }
>>
>> ostream &FilterASNO::print(ostream &out) const {
>> - out << "AS" << asno;
>> + out << asno;
>> return out;
>> }

I've just committed this patch.  It is likely that this will break a small 
number of things, but as previously noted, there is so much wild-eyed 
inheritance going on that it's basically impossible to tell.  If things 
needs fixing as a result of this, we can fix them trivially on a case by 
case basis.

Nick



More information about the irrtoolset mailing list