summaryrefslogtreecommitdiff
path: root/vpn/plugins/ipsec.h
diff options
context:
space:
mode:
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 0081a43..6fe50a0 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)