]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix indent space when we have padded data
authorJamal Hadi Salim <[email protected]>
Tue, 25 Jan 2011 13:16:16 +0000 (08:16 -0500)
committerMichael Richardson <[email protected]>
Wed, 26 Jan 2011 00:56:52 +0000 (19:56 -0500)
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 <[email protected]>
Signed-off-by: Michael Richardson <[email protected]>
print-forces.c

index 26e83d3167c7037fffb768db1ddf603ce9078d9d..19392a7e4bf10d172dc897d031b79e3dd47926b4 100644 (file)
@@ -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