Re: [dpdk-dev] [EXT] [PATCH v3] examples/ipsec-secgw: fix negative argument passing

2020-05-09 Thread Akhil Goyal
> > Function create_ipsec_esp_flow returns a negative number in case of any > failure > > and we are passing this to strerror to display the error message. > > But strerror()'s argument cannot be negative. > > In case of failure, displaying exact error message to console is handled in > > create_ip

Re: [dpdk-dev] [EXT] [PATCH v3] examples/ipsec-secgw: fix negative argument passing

2020-05-06 Thread Anoob Joseph
> Function create_ipsec_esp_flow returns a negative number in case of any > failure > and we are passing this to strerror to display the error message. > But strerror()'s argument cannot be negative. > In case of failure, displaying exact error message to console is handled in > create_ipsec_esp