starter: Migrated logging to libstrongswan.
This commit is contained in:
@@ -17,11 +17,12 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <freeswan.h>
|
||||
#include <library.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include "../pluto/constants.h"
|
||||
#include "../pluto/defs.h"
|
||||
#include "../pluto/log.h"
|
||||
|
||||
#include "ipsec-parser.h"
|
||||
|
||||
#define YYERROR_VERBOSE
|
||||
@@ -63,7 +64,7 @@ extern kw_entry_t *in_word_set (char *str, unsigned int len);
|
||||
|
||||
config_file:
|
||||
config_file section_or_include
|
||||
| /* NULL */
|
||||
| /* NULL */
|
||||
;
|
||||
|
||||
section_or_include:
|
||||
@@ -79,7 +80,7 @@ section_or_include:
|
||||
| CONN STRING EOL
|
||||
{
|
||||
section_list_t *section = malloc_thing(section_list_t);
|
||||
|
||||
|
||||
section->name = clone_str($2);
|
||||
section->kw = NULL;
|
||||
section->next = NULL;
|
||||
@@ -223,7 +224,7 @@ config_parsed_t *parser_load_conf(const char *file)
|
||||
|
||||
if (err)
|
||||
{
|
||||
plog("%s", parser_errstring);
|
||||
DBG1(DBG_APP, "%s", parser_errstring);
|
||||
|
||||
if (cfg)
|
||||
parser_free_conf(cfg);
|
||||
|
||||
Reference in New Issue
Block a user