question about bgp_med

fredrik danerklint fredan-bird at fredan.se
Wed Aug 24 01:52:10 CEST 2011


Did solve it with the following:

function make_med(int m) {

    if ! defined( bgp_med ) then bgp_med = 0;
    bgp_med = bgp_med + m;
    return true;
}

bgp_med was void even with "default bgp_med 0;"


> Hi!
> 
> Is this possible in either a import or export filter:
> 
> bgp_med = bgp_med + 3;

-- 
//fredan



More information about the Bird-users mailing list