pluto ignores proprietary Juniper SRX notification 40001
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 5 Nov 2009 07:38:00 +0000 (08:38 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 5 Nov 2009 07:38:00 +0000 (08:38 +0100)
src/pluto/constants.c
src/pluto/constants.h

index 4716c6a..4721d6a 100644 (file)
@@ -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,
index 38fa0f2..5745036 100644 (file)
@@ -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;