1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Fixes protocol statistics for pipes.

This commit is contained in:
Ondrej Zajicek
2010-02-13 10:44:46 +01:00
parent c83876265e
commit 9db74169be
4 changed files with 108 additions and 35 deletions

View File

@@ -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",