babeld: fix typo in kernel_route_add_v6.

This commit is contained in:
Juliusz Chroboczek 2012-02-14 11:17:32 +01:00 committed by Paul Jakma
parent 260948cdd6
commit b63b4484c6

View File

@ -231,6 +231,7 @@ kernel_route_add_v6(const unsigned char *pref, unsigned short plen,
api.safi = SAFI_UNICAST;
SET_FLAG(api.message, ZAPI_MESSAGE_NEXTHOP);
if(metric >= KERNEL_INFINITY) {
api.flags = ZEBRA_FLAG_BLACKHOLE;
api.nexthop_num = 0;
api.ifindex_num = 0;
} else {