diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-13 10:44:46 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-13 10:44:46 +0100 |
commit | 9db74169be76f658df2207d1ec99eac48fa36f5f (patch) | |
tree | 0221de7d14f9a27519d8a5bc3f0e58a37c6f0acf /proto/pipe | |
parent | c83876265eeae3591bfe90375503728e633cb807 (diff) | |
download | bird-9db74169be76f658df2207d1ec99eac48fa36f5f.tar bird-9db74169be76f658df2207d1ec99eac48fa36f5f.zip |
Fixes protocol statistics for pipes.
Diffstat (limited to 'proto/pipe')
-rw-r--r-- | proto/pipe/pipe.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/pipe/pipe.c b/proto/pipe/pipe.c index d9df03b..879135d 100644 --- a/proto/pipe/pipe.c +++ b/proto/pipe/pipe.c @@ -234,6 +234,13 @@ pipe_get_peer_table(struct proto *P) return p->peer; } +struct proto_stats * +pipe_get_peer_stats(struct proto *P) +{ + struct pipe_proto *p = (struct pipe_proto *) P; + return &p->phantom->p.stats; +} + struct protocol proto_pipe = { name: "Pipe", template: "pipe%d", |