summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2014-03-23 01:40:37 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2014-03-23 01:40:37 +0100
commit2e84b4e82dbf8fce0fd12fb0c25d925ffd287970 (patch)
treeda6dc96c7f507b0ad64e7fb78c17c208ee01c69a
parentd40c26594c22ad934a13061e11b373bdf81af8f9 (diff)
Fixes a bug in rte_src handling.
-rw-r--r--nest/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/proto.c b/nest/proto.c
index cfa6ff4b..d87d05c1 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -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;