On Wed, Nov 11, 2020 at 9:17 AM Ibtisam Tariq <[email protected]> wrote: > > Instead of using getopt_long return value, strcmp was used to > compare the input parameters with the struct option array. This > patch get rid of all those strcmp by directly binding each longopt > with an int enum. This is to improve readability and consistency in > all examples. > > Bugzilla ID: 238 > Cc: [email protected] > > Reported-by: David Marchand <[email protected]> > Signed-off-by: Ibtisam Tariq <[email protected]>
This patch breaks compilation with clang: https://travis-ci.com/github/ovsrobot/dpdk/jobs/433053506#L1019 You can remove this str_is helper. -- David Marchand

