Re: [dpdk-dev] [PATCH v3] net/failsafe: fix parameters parsing

2017-08-28 Thread Gaƫtan Rivet
Hi Matan, thanks On Sun, Aug 27, 2017 at 10:23:14AM +0300, Matan Azrad wrote: > The corrupted code used wrongly snprintf return value as the > number of characters actually copied, in spite of the meanning > is the number of characters which would be generated for the > given input. > > It cause

[dpdk-dev] [PATCH v3] net/failsafe: fix parameters parsing

2017-08-27 Thread Matan Azrad
The corrupted code used wrongly snprintf return value as the number of characters actually copied, in spite of the meanning is the number of characters which would be generated for the given input. It caused to remain zerod bytes between the failsafe command line non sub device parameters indicate