[dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: add configuration file support

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Jul 11 17:19:13 CEST 2016


2016-07-11 15:43, Fan Zhang:
> This patch adds the configuration file support to ipsec_secgw
> sample application. Instead of hard-coded rules, the users can
> specify their own SP, SA, and routing rules in the configuration
> file. An command line option "-f" is added to pass the
> configuration file location to the application.

There is a 32-bit compilation error:
examples/ipsec-secgw/parser.c:286:10: error:
format ‘%lu’ expects argument of type ‘long unsigned int’,
but argument 2 has type ‘size_t {aka unsigned int}’ [-Werror=format=]
   printf("len error, has %lu, expect %i\n", strlen(ip_str),



More information about the dev mailing list