mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Syntax error fix for systems without CONFIG_SELF_CONSCIOUS (KRT_ALLOW_LEARN)
This commit is contained in:
parent
a6ee026693
commit
1bc4b2cc84
@ -637,8 +637,8 @@ krt_got_route_async(struct krt_proto *p, rte *e, int new UNUSED)
|
||||
DBG("It's a redirect, kill him! Kill! Kill!\n");
|
||||
krt_set_notify(p, net, NULL, e);
|
||||
break;
|
||||
case KRT_SRC_ALIEN:
|
||||
#ifdef KRT_ALLOW_LEARN
|
||||
case KRT_SRC_ALIEN:
|
||||
if (KRT_CF->learn)
|
||||
{
|
||||
krt_learn_async(p, e, new);
|
||||
|
Loading…
Reference in New Issue
Block a user