diff options
author | David Lamparter <equinox@diac24.net> | 2012-04-11 23:52:46 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-28 01:21:43 +0200 |
commit | 09a484dd1d27580d98c4b94d3ed77e47d7aac0b5 (patch) | |
tree | ac178c846ddabfe4d6c80d5f6b5f4ba6025bbea2 /babeld | |
parent | Merge pull request #1054 from dslicenc/eigrp-connected (diff) | |
download | frr-09a484dd1d27580d98c4b94d3ed77e47d7aac0b5.tar.xz frr-09a484dd1d27580d98c4b94d3ed77e47d7aac0b5.zip |
*: remove ZEBRA_FLAG_{BLACKHOLE,REJECT} from API
FLAG_BLACKHOLE is used for different things in different places. remove
it from the zclient API, instead indicate blackholes as proper nexthops
inside the message.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'babeld')
-rw-r--r-- | babeld/kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/kernel.c b/babeld/kernel.c index 394d7b1e8..3343ca2e9 100644 --- a/babeld/kernel.c +++ b/babeld/kernel.c @@ -169,7 +169,7 @@ zebra_route(int add, int family, const unsigned char *pref, unsigned short plen, api.prefix = quagga_prefix; if(metric >= KERNEL_INFINITY) { - api.flags = ZEBRA_FLAG_REJECT; + zapi_route_set_blackhole(&api, BLACKHOLE_REJECT); } else { SET_FLAG(api.message, ZAPI_MESSAGE_NEXTHOP); api.nexthop_num = 1; |