From d325cc4930d7e04bd09d54548c6dc58329cfc15b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 21 Jul 2012 11:02:00 -0700 Subject: When Verbose == 0, don't print number of data items in unknown reply types We don't print any other data from packet when Verbose == 0, just had a few random "data: (6)" type lines sneak through. Signed-off-by: Alan Coopersmith --- print11.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'print11.c') diff --git a/print11.c b/print11.c index b2b61fb..7935b84 100644 --- a/print11.c +++ b/print11.c @@ -955,6 +955,8 @@ UnknownReply(const unsigned char *buf) long n; PrintField(RBf, 0, 1, REPLY, REPLYHEADER); + if (Verbose < 1) + return; PrintField(buf, 1, 1, CARD8, "data"); printfield(buf, 2, 2, CARD16, "sequence number"); printfield(buf, 4, 4, DVALUE4(n), "reply length"); -- cgit v1.2.1