[strongSwan-dev] Patch to fix harcoded IMCV_DEFAULT_POLICY_SCRIPT name in imcv.c

Avesh Agarwal avesh.ncsu at gmail.com
Wed Sep 3 22:58:12 CEST 2014


I came across an issue with src/libimcv/imcv.c where
IMCV_DEFAULT_POLICY_SCRIPT is hardcoded as follows:

#define IMCV_DEFAULT_POLICY_SCRIPT     "ipsec _imv_policy"

It fails where ipsec_script is renamed to, for example, strongswan from
default ipsec.

I have attched a patch to address this issue.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20140903/99b941d0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imcv_ipsec_script.patch
Type: text/x-patch
Size: 683 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20140903/99b941d0/attachment.bin>

More information about the Dev mailing list