]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes a bug in rte_src handling.
authorOndrej Zajicek <santiago@crfreenet.org>
Sun, 23 Mar 2014 00:40:37 +0000 (01:40 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Sun, 23 Mar 2014 00:40:37 +0000 (01:40 +0100)
nest/proto.c

index cfa6ff4bd4a10a6e5554d17d2ec2d915fc0bc174..d87d05c11b4fbe656fb86b005dde9a04b2b99142 100644 (file)
@@ -1095,7 +1095,7 @@ proto_notify_state(struct proto *p, unsigned ps)
       if ((cs == FS_FEEDING) || (cs == FS_HAPPY))
        proto_schedule_flush(p);
 
-      if (p->proto->multitable)
+      if (!p->proto->multitable)
        {
          rt_unlock_source(p->main_source);
          p->main_source = NULL;