Message ID | 1436452666-27134-1-git-send-email-balakrishna.garapati@linaro.org |
---|---|
State | Accepted |
Commit | f8721d762b2b3ccd6ced637be23ae7ef2c80bb6d |
Headers | show |
Applied, thanks, Maxim. On 07/09/15 17:37, Balakrishna.Garapati wrote: > Signed-off-by: Balakrishna.Garapati <balakrishna.garapati@linaro.org> > --- > since v1: changed the commit message > example/generator/odp_generator.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c > index 0ff264c..15de035 100644 > --- a/example/generator/odp_generator.c > +++ b/example/generator/odp_generator.c > @@ -991,9 +991,11 @@ static void print_info(char *progname, appl_args_t *appl_args) > printf("\n" > "Mode: "); > if (appl_args->mode == 0) > - PRINT_APPL_MODE(0); > + PRINT_APPL_MODE(APPL_MODE_UDP); > + else if (appl_args->mode == 1) > + PRINT_APPL_MODE(APPL_MODE_PING); > else > - PRINT_APPL_MODE(0); > + PRINT_APPL_MODE(APPL_MODE_RCV); > printf("\n\n"); > fflush(NULL); > }
diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 0ff264c..15de035 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -991,9 +991,11 @@ static void print_info(char *progname, appl_args_t *appl_args) printf("\n" "Mode: "); if (appl_args->mode == 0) - PRINT_APPL_MODE(0); + PRINT_APPL_MODE(APPL_MODE_UDP); + else if (appl_args->mode == 1) + PRINT_APPL_MODE(APPL_MODE_PING); else - PRINT_APPL_MODE(0); + PRINT_APPL_MODE(APPL_MODE_RCV); printf("\n\n"); fflush(NULL); }
Signed-off-by: Balakrishna.Garapati <balakrishna.garapati@linaro.org> --- since v1: changed the commit message example/generator/odp_generator.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)