Use Variables / Defines in include statements

Tim Weippert weiti at weiti.org
Tue Jan 17 11:03:00 CET 2017


Hi, 

i currently try to do different includes, based on an variable/define
within the config.

for example:

function test(int asn) {

  [ do something general ]

  include "/etc/bird/" . asn . "-special.conf";

}

As this approach doesn't work, is there currently an possibility to do
such includes somehow?

regards, 
tim

-- 
Tim Weippert
http://weiti.org - weiti at weiti.org
GPG Fingerprint - E704 7303 6FF0 8393 ADB1  398E 67F2 94AE 5995 7DD8


More information about the Bird-users mailing list