]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Avoid warning if not compiled with pipes.
authorOndrej Filip <feela@majklik.network.cz>
Tue, 27 Apr 2010 09:27:54 +0000 (11:27 +0200)
committerOndrej Filip <feela@majklik.network.cz>
Tue, 27 Apr 2010 09:27:54 +0000 (11:27 +0200)
nest/proto.c

index f55def5e56ddcda15424a3220cd1fe78fcfe6de1..46147a4e138793937b22efdf831e91c6974857e7 100644 (file)
@@ -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)