From: Jamal Hadi Salim Date: Tue, 25 Jan 2011 13:16:16 +0000 (-0500) Subject: Fix indent space when we have padded data X-Git-Tag: tcpdump-4.2.1~73 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/375352c72b7c958e520a49dd5a58eb19877e833b Fix indent space when we have padded data See if you can spot the difference between Pathdata: Flags 0x0 ID count 1 ID#01: 3 FULLDATA TLV (Length 10 DataLen 6 pad 2 Bytes) [ 0x0000: 0002 0406 080a 0000 ] and: Pathdata: Flags 0x0 ID count 1 ID#01: 3 FULLDATA TLV (Length 10 DataLen 6 pad 2 Bytes) [ 0x0000: 0002 0406 080a 0000 ] Signed-off-by: Jamal Hadi Salim Signed-off-by: Michael Richardson --- diff --git a/print-forces.c b/print-forces.c index 26e83d31..19392a7e 100644 --- a/print-forces.c +++ b/print-forces.c @@ -270,7 +270,7 @@ pdatacnt_print(register const u_char * pptr, register u_int len, if (vflag >= 3 && ops->v != F_TLV_PDAT) { if (pad) printf - ("%s %s (Length %d DataLen %d pad %d Bytes)\n", + ("%s %s (Length %d DataLen %d pad %d Bytes)\n", ib, ops->s, EXTRACT_16BITS(&pdtlv->length), tll, pad); else