summaryrefslogtreecommitdiff
path: root/babeld
diff options
context:
space:
mode:
authorJuliusz Chroboczek <jch@pps.jussieu.fr>2012-02-14 11:17:32 +0100
committerPaul Jakma <paul@quagga.net>2012-03-25 17:06:54 +0100
commitb63b4484c6d2c9d304d4ddd0756a4847c6dc5359 (patch)
treee81471e9fd7e912ab16d3c2de9b3dbea5aa971e7 /babeld
parent260948cdd6030b332137dfa0580d5a9ba651b145 (diff)
babeld: fix typo in kernel_route_add_v6.
Diffstat (limited to 'babeld')
-rw-r--r--babeld/kernel_zebra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/babeld/kernel_zebra.c b/babeld/kernel_zebra.c
index d262a86b..85ee1f8d 100644
--- a/babeld/kernel_zebra.c
+++ b/babeld/kernel_zebra.c
@@ -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 {