aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-11-05 08:38:00 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-11-05 08:38:00 +0100
commite92e19c17766519bb8c8df5ab3b0ab661f93354d (patch)
tree9e135964898cce921be6ef4259415d10caf63162 /src/pluto
parent16dca5c2f22b1e26a46874022ebb0907dc707158 (diff)
downloadstrongswan-e92e19c17766519bb8c8df5ab3b0ab661f93354d.tar.bz2
strongswan-e92e19c17766519bb8c8df5ab3b0ab661f93354d.tar.xz
pluto ignores proprietary Juniper SRX notification 40001
Diffstat (limited to 'src/pluto')
-rw-r--r--src/pluto/constants.c10
-rw-r--r--src/pluto/constants.h5
2 files changed, 13 insertions, 2 deletions
diff --git a/src/pluto/constants.c b/src/pluto/constants.c
index 4716c6ad8..4721d6ae0 100644
--- a/src/pluto/constants.c
+++ b/src/pluto/constants.c
@@ -988,9 +988,17 @@ static const char *const notification_dpd_name[] = {
"R_U_THERE_ACK",
};
+static const char *const notification_juniper_name[] = {
+ "NS_NHTB_INFORM",
+};
+
+enum_names notification_juniper_names =
+ { NS_NHTB_INFORM, NS_NHTB_INFORM,
+ notification_juniper_name, NULL };
+
enum_names notification_dpd_names =
{ R_U_THERE, R_U_THERE_ACK,
- notification_dpd_name, NULL };
+ notification_dpd_name, &notification_juniper_names };
enum_names ipsec_notification_names =
{ IPSEC_RESPONDER_LIFETIME, IPSEC_INITIAL_CONTACT,
diff --git a/src/pluto/constants.h b/src/pluto/constants.h
index 38fa0f2c7..57450368e 100644
--- a/src/pluto/constants.h
+++ b/src/pluto/constants.h
@@ -1040,7 +1040,10 @@ typedef enum {
/* RFC 3706 DPD */
R_U_THERE = 36136,
- R_U_THERE_ACK = 36137
+ R_U_THERE_ACK = 36137,
+
+ /* Juniper SRX private use */
+ NS_NHTB_INFORM = 40001
} notification_t;