Re: [dpdk-dev] [PATCH 2/2] hexdump: align output of string

2018-08-16 Thread Stephen Hemminger
On Thu, 16 Aug 2018 08:31:06 -0700 Stephen Hemminger wrote: > This fixes the issue where if the length of the output is not > a multiple of 16 the formatting was off. > > Before: > : 45 00 00 1C 12 34 2C E0 40 06 B8 2E C0 A8 01 12 | E4,.@... > 0010: C0 A8 01 37 | | | | |

[dpdk-dev] [PATCH 2/2] hexdump: align output of string

2018-08-16 Thread Stephen Hemminger
This fixes the issue where if the length of the output is not a multiple of 16 the formatting was off. Before: : 45 00 00 1C 12 34 2C E0 40 06 B8 2E C0 A8 01 12 | E4,.@... 0010: C0 A8 01 37 | | | | | | | | | | | | | ...7 After: : 45 00 00 1C 12 34 2C E0 40