Hi!

I want to be able to set a router prefix via bgp to blackhole.

What I have is this:

if ((my_as, 666) ~ bgp_community) then {
print "blackhole '", net, "' from AS", bgp_path.last, " via AS", bgp_path.first, " [", proto, "]";
#        set nexthop blackhole;
#       bgp_next_hop blackhole;
 bgp_community.delete((my_as, 666 ));
 return false;
}

but either set nexthop or bgp_next_hop works.

Is this possible in bird?

--
//fredan

Reply via email to