13 Nov
2019
13 Nov
'19
9:02 a.m.
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