mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 22:03:12 +00:00
babeld: fix typo in kernel_route_add_v6.
This commit is contained in:
parent
260948cdd6
commit
b63b4484c6
@ -231,6 +231,7 @@ kernel_route_add_v6(const unsigned char *pref, unsigned short plen,
|
|||||||
api.safi = SAFI_UNICAST;
|
api.safi = SAFI_UNICAST;
|
||||||
SET_FLAG(api.message, ZAPI_MESSAGE_NEXTHOP);
|
SET_FLAG(api.message, ZAPI_MESSAGE_NEXTHOP);
|
||||||
if(metric >= KERNEL_INFINITY) {
|
if(metric >= KERNEL_INFINITY) {
|
||||||
|
api.flags = ZEBRA_FLAG_BLACKHOLE;
|
||||||
api.nexthop_num = 0;
|
api.nexthop_num = 0;
|
||||||
api.ifindex_num = 0;
|
api.ifindex_num = 0;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user