mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Syntax error fix for systems without CONFIG_SELF_CONSCIOUS (KRT_ALLOW_LEARN)
This commit is contained in:
@@ -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");
|
DBG("It's a redirect, kill him! Kill! Kill!\n");
|
||||||
krt_set_notify(p, net, NULL, e);
|
krt_set_notify(p, net, NULL, e);
|
||||||
break;
|
break;
|
||||||
case KRT_SRC_ALIEN:
|
|
||||||
#ifdef KRT_ALLOW_LEARN
|
#ifdef KRT_ALLOW_LEARN
|
||||||
|
case KRT_SRC_ALIEN:
|
||||||
if (KRT_CF->learn)
|
if (KRT_CF->learn)
|
||||||
{
|
{
|
||||||
krt_learn_async(p, e, new);
|
krt_learn_async(p, e, new);
|
||||||
|
|||||||
Reference in New Issue
Block a user