summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorOndrej Filip <feela@majklik.network.cz>2010-04-27 11:27:54 +0200
committerOndrej Filip <feela@majklik.network.cz>2010-04-27 11:27:54 +0200
commitba130172549ef2313f713e048083432f74e7d03d (patch)
treed11df22f40f9a4a55a13556ae53525ed4bf388f9 /nest
parent6bc414d619e1d8710990e89e5085d18e2d5c544c (diff)
downloadbird-ba130172549ef2313f713e048083432f74e7d03d.tar
bird-ba130172549ef2313f713e048083432f74e7d03d.zip
Avoid warning if not compiled with pipes.
Diffstat (limited to 'nest')
-rw-r--r--nest/proto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index f55def5..46147a4 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -807,6 +807,7 @@ proto_do_show_stats(struct proto *p)
s->exp_withdraws_received, s->exp_withdraws_accepted);
}
+#ifdef CONFIG_PIPE
static void
proto_do_show_pipe_stats(struct proto *p)
{
@@ -846,6 +847,7 @@ proto_do_show_pipe_stats(struct proto *p)
s1->exp_withdraws_received, s1->imp_withdraws_invalid,
s1->imp_withdraws_ignored, s1->imp_withdraws_accepted);
}
+#endif
void
proto_cmd_show(struct proto *p, unsigned int verbose, int cnt)