summaryrefslogtreecommitdiffstats
path: root/sysdep/unix
diff options
context:
space:
mode:
authorOndrej Filip <feela@mamlas.feela.net>2009-05-04 17:49:56 +0200
committerOndrej Filip <feela@mamlas.feela.net>2009-05-04 17:49:56 +0200
commit1bc4b2cc840eb3f48c7e245528ef79c2b0ba50e7 (patch)
tree8a2e872979ed886ebee06ba8309d9c2a4fef001c /sysdep/unix
parenta6ee026693a9c24c71dcf846abd32508782e0249 (diff)
downloadbird-1bc4b2cc840eb3f48c7e245528ef79c2b0ba50e7.tar
bird-1bc4b2cc840eb3f48c7e245528ef79c2b0ba50e7.zip
Syntax error fix for systems without CONFIG_SELF_CONSCIOUS (KRT_ALLOW_LEARN)
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/krt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c
index 83456b0..6208f68 100644
--- a/sysdep/unix/krt.c
+++ b/sysdep/unix/krt.c
@@ -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);