I change filter from 

filter import_exclude_default {
    if ( source != RTS_BGP && net != 0.0.0.0/0 ) then {
        print "net accepted:", net;
        ospf_metric1 = 60;
        accept;
    }
    reject;
}

to

filter import_exclude_default {
    if ( source = RTS_OSPF_INT && net != 0.0.0.0/0 ) then {
        print "net accepted:", net;
        ospf_metric1 = 60;
        accept;
    }
    reject;
}

after 'configure soft' I see error

bird> configure soft
Reading configuration from /etc/bird.conf
/etc/bird.conf, line 167: RTS_OSPF_INT: variable expected.
bird>


>From documentation 

5.5 Route attributes
...

enum source
what protocol has told me about this route. Possible values: RTS_DUMMY,
RTS_STATIC, RTS_INHERIT, RTS_DEVICE, RTS_STATIC_DEVICE, RTS_REDIRECT,
RTS_RIP, RTS_OSPF, RTS_OSPF_IA, RTS_OSPF_EXT, RTS_BGP, RTS_PIPE.


Why I receive error?


Vladislav Grishin

Reply via email to