aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2016-03-11 08:29:15 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2016-03-11 08:29:23 +0100
commit35babdf43f393b0e2fe0031c1cb9a0ce04803950 (patch)
treea39820547a39f73240e8683da6ce11263ad16aea
parent7d22a75b120f56da76b9a05859a6ee045536bea9 (diff)
downloadstrongswan-35babdf43f393b0e2fe0031c1cb9a0ce04803950.tar.bz2
strongswan-35babdf43f393b0e2fe0031c1cb9a0ce04803950.tar.xz
Initialize ts variable
-rw-r--r--src/libcharon/plugins/vici/vici_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/vici/vici_config.c b/src/libcharon/plugins/vici/vici_config.c
index 6da663b83..c8126b5eb 100644
--- a/src/libcharon/plugins/vici/vici_config.c
+++ b/src/libcharon/plugins/vici/vici_config.c
@@ -553,7 +553,7 @@ CALLBACK(parse_ts, bool,
linked_list_t *out, chunk_t v)
{
char buf[128], *protoport, *sep, *port = "", *end;
- traffic_selector_t *ts;
+ traffic_selector_t *ts = NULL;
struct protoent *protoent;
struct servent *svc;
long int p;