summaryrefslogtreecommitdiff
path: root/vpn/plugins/ipsec.h
diff options
context:
space:
mode:
authorYu Jiung <jiung.yu@samsung.com>2017-03-06 10:48:48 +0900
committerJiung Yu <jiung.yu@samsung.com>2017-04-13 16:50:05 +0900
commit13294d79e3412a68c541fd6a22840bf85521a420 (patch)
tree0fbf7db7c24b4eeeecdc711f18ed011e7d4c58b1 /vpn/plugins/ipsec.h
parent7859b3f51163cdb798423679bf291ffe27eff988 (diff)
downloadconnman-13294d79e3412a68c541fd6a22840bf85521a420.tar.gz
connman-13294d79e3412a68c541fd6a22840bf85521a420.tar.bz2
connman-13294d79e3412a68c541fd6a22840bf85521a420.zip
Add processing request & response vici message with socketipsec
Change-Id: I06ff60de06fde1ac8f484b1eecf49afed6d02542 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Diffstat (limited to 'vpn/plugins/ipsec.h')
-rw-r--r--vpn/plugins/ipsec.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vpn/plugins/ipsec.h b/vpn/plugins/ipsec.h
index 0081a439..6fe50a09 100644
--- a/vpn/plugins/ipsec.h
+++ b/vpn/plugins/ipsec.h
@@ -6,12 +6,11 @@
#define IPSEC_AUTH_XAUTH "XAUTH"
#define VICI_SHARED_TYPE_PSK "IKE"
-#define VICI_SHARED_TYPE_XAUTH "XAUTH"
+#define VICI_SHARED_TYPE_XAUTH "xauth"
#define IPSEC_ERROR_CHECK_GOTO(err, target, fmt, arg...) do { \
if (err < 0) { \
connman_error(fmt, ## arg); \
- err = -1; \
goto target; \
} \
} while (0)