~ubuntu-branches/ubuntu/maverick/strongswan/maverick

« back to all changes in this revision

Viewing changes to src/starter/invokepluto.c

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2008-12-05 17:21:42 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20081205172142-9g77wgyzcj0blq7p
* New upstream release, fixes a MOBIKE issue.
  Closes: #507542: strongswan: endless loop
* Explicitly enable compilation with libcurl for CRL fetching
  Closes: #497756: strongswan: not compiled with curl support; crl 
                   fetching not available
* Enable compilation with SSH agent support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
12
 * for more details.
13
13
 *
14
 
 * RCSID $Id: invokepluto.c 3942 2008-05-13 07:37:08Z martin $
 
14
 * RCSID $Id: invokepluto.c 4632 2008-11-11 18:37:19Z martin $
15
15
 */
16
16
 
17
17
#include <sys/types.h>
215
215
        _stop_requested = 0;
216
216
 
217
217
        if (cfg->setup.prepluto)
218
 
            system(cfg->setup.prepluto);
 
218
            ignore_result(system(cfg->setup.prepluto));
219
219
 
220
220
        pid = fork();
221
221
        switch (pid)
258
258
                        DBG_log("pluto (%d) started", _pluto_pid)
259
259
                    )
260
260
                    if (cfg->setup.postpluto)
261
 
                        system(cfg->setup.postpluto);
 
261
                        ignore_result(system(cfg->setup.postpluto));
262
262
                    return 0;
263
263
                }
264
264
            }