BIRD - pair set object issue

Javor Kliachev jkliachev at neterra.net
Fri Jul 26 09:01:30 CEST 2013


Hello, 

I have some troubles defining a pair set object using the following assignment: 

PAIR=[(X,1:1001)]; 

Where X is predefined integer variable with assigned value. 
Upon multiple issueing of the "configure" statement, BIRD sometimes complains about unproer values used in the assignment and sometimes not. Like this: 

BIRD 1.3.9 ready. 
bird> conf 
Reading configuration from /usr/local/bird-new/etc/bird.conf 
Reconfigured 

Immediately after: 

bird> configure 
Reading configuration from /usr/local/bird-new/etc/bird.conf 
/usr/local/bird-new/etc/functions3.conf, line 281: Value 31343232 out of range (0-65535) 
bird> 

The actual line 281: 

roopoi=[(RoO,1001..1999)]; 

RoO is an integer (inside the interval 0:65535) passed as a function argument: 

function M_BGP_OUT (int peer_as; int RoO; bool LOCAL) 

pair NOEXP; 
pair set roopoi; 

Bird version 1.3.9. 

It seems recursive assignment for variables of this particular type is not allowed. 
Is there a fix or workaround for achieving this functionality, despite the pure numerical assignment? 

Thank you! 
-- 
--- 
Find out about our new Cloud service - Cloudware.bg 
Access anywhere. Manage it yourself. Pay as you go. 

Javor Kliachev 
IP Engineer 

Neterra Ltd. 
Telephone: +359 2 975 16 16 
Fax: +359 2 975 34 36 
www.neterra.net 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20130726/0b0de448/attachment-0001.html>


More information about the Bird-users mailing list