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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user