Re: [dpdk-dev] [PATCH v2] librte_cmdline: fix parsing initialisation

2017-06-23 Thread Olivier Matz
Hi Adrien, On Thu, 15 Jun 2017 12:15:48 +0200, Adrien Mazarguil wrote: > From: "Bernard.Iremonger" > > The dyn_tokens array is initialised at the beginning of the cmdline_parse > function. However when the inst_num variable is incremented later in the > function the dyn_tokens array is not rei

[dpdk-dev] [PATCH v2] librte_cmdline: fix parsing initialisation

2017-06-15 Thread Adrien Mazarguil
From: "Bernard.Iremonger" The dyn_tokens array is initialised at the beginning of the cmdline_parse function. However when the inst_num variable is incremented later in the function the dyn_tokens array is not reinitialised so the tokens from the previous command are used. The solution is to ini