diff options
-rw-r--r-- | tanja.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1859,7 +1859,8 @@ static inline void tn_link_handlehandshake(tn_link *l, const char *buf, int len) } else { mutex_lock(l->node->lock); mutex_lock(l->lock); - l->catchall = tn_node_register(l->node, patternreg_new_link(tn_tuple_new(""), l)); + if(l->active) + l->catchall = tn_node_register(l->node, patternreg_new_link(tn_tuple_new(""), l)); mutex_unlock(l->lock); mutex_unlock(l->node->lock); l->synced = 1; |