diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-13 12:26:26 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-13 12:26:26 +0100 |
commit | dca75fd7c207f0bfc627cb6b74a484da3b27e05f (patch) | |
tree | c8e2f7469e10bb692c3b09b3735b90883318180b /nest/proto.c | |
parent | 9db74169be76f658df2207d1ec99eac48fa36f5f (diff) |
Removes phantom protocol from the pipe design.
It seems that by adding one pipe-specific exception to route
announcement code and by adding one argument to rt_notify() callback i
could completely eliminate the need for the phantom protocol instance
and therefore make the code more straightforward. It will also fix some
minor bugs (like ignoring debug flag changes from the command line).
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nest/proto.c b/nest/proto.c index a7e4e0c9..57c2aa13 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -133,11 +133,6 @@ proto_init_instance(struct proto *p) p->attn = ev_new(p->pool); p->attn->data = p; rt_lock_table(p->table); - -#ifdef CONFIG_PIPE - if (proto_is_pipe(p)) - rt_lock_table(pipe_get_peer_table(p)); -#endif } /** |