Increasing bgp_local_pref fails
Benedikt Neuffer
benedikt.neuffer at kit.edu
Wed Nov 13 10:51:04 CET 2019
Hi Maria,
sorry, i messed up the subject. Its bgp_med.
That was the issue. I thought it was set in another function before, but
it wasn't. Thank you for your fast response.
Regards,
Bene
On 13.11.19 10:02, Maria Matějka wrote:
> Hello!
>
> This happens when bgp_med is initially undefined. Use something like
>
> if defined(bgp_med) then bgp_med = 100; else bgp_med = bgp_med + 100;
>
> Maria
>
> On 11/12/19 11:01 PM, Benedikt Neuffer wrote:
>> Hello,
>>
>> I am trying to increase the MED attribute in an export filter:
>> bgp_med = bgp_med + 100;
>>
>> This action fails with the following error messages:
>> 2019-11-12 22:54:54.522 <ERR> filters, line 18: Argument 1 of
>> instruction FI_ADD must be of type T_INT, got 0x00
>>
>> I have tested bird 2.0.4 and 2.0.7. The issue occurs in both versions. I
>> am using gentoo with gcc 9.2.0.
>> Am I missing something or is this a bug?
>>
>> Regards,
>> Bene
>>
>
--
Karlsruher Institut für Technologie (KIT)
Steinbuch Centre for Computing (SCC)
Benedikt Neuffer
Netze und Telekommunikation (NET)
Hermann-von-Helmholtz-Platz 1
Gebäude 442
Raum 185
76344 Eggenstein-Leopoldshafen
Telefon: +49 721 608-24502
Fax: +49 721 608-47763
E-Mail: benedikt.neuffer at kit.edu
Web: https://www.scc.kit.edu
Sitz der Körperschaft:
Kaiserstraße 12, 76131 Karlsruhe
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
Signaturversion: 19.1.0 beta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5868 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20191113/83ad05ee/attachment.p7s>
More information about the Bird-users
mailing list