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),