> > - cl = cmdline_stdin_new(main_ctx, "testpmd> ");
> > - if (cl == NULL) {
> > + testpmd_cl = cmdline_stdin_new(main_ctx, "testpmd> ");
> > + if (testpmd_cl == NULL) {
> > return;
> > }
>
> Style nit: don't need {} around single statement.
>
> > +static void
> > +sigint_
On Thu, 24 Dec 2015 21:37:10 -0500
Zhihong Wang wrote:
> Handle SIGINT and SIGTERM in testpmd.
>
> Signed-off-by: Zhihong Wang
> ---
> app/test-pmd/cmdline.c | 19 +--
> app/test-pmd/testpmd.c | 38 --
> app/test-pmd/testpmd.h | 1 +
> 3 fil
Handle SIGINT and SIGTERM in testpmd.
Signed-off-by: Zhihong Wang
---
app/test-pmd/cmdline.c | 19 +--
app/test-pmd/testpmd.c | 38 --
app/test-pmd/testpmd.h | 1 +
3 files changed, 46 insertions(+), 12 deletions(-)
diff --git a/app/test-pmd/
3 matches
Mail list logo