summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec_api.c
diff options
context:
space:
mode:
author“mystarrocks” <mystarrocks@yahoo.com>2017-12-11 07:11:51 -0800
committerNeale Ranns <nranns@cisco.com>2017-12-15 09:50:21 +0000
commit23f0c4515f62b18ef6f1ff7cab537838f0f65457 (patch)
treeccdb213bab347b051a9bc43a3c7b8bf627e2a893 /src/vnet/ipsec/ipsec_api.c
parente1584a6c5da542a9b772b901208ad70840a6fa01 (diff)
ESP_AH_test_automation_scripts rev1
Change-Id: I941abdc4a02e4c52c66b9d299e380b27caca7c1d Signed-off-by: “mystarrocks” <mystarrocks@yahoo.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec_api.c')
-rw-r--r--src/vnet/ipsec/ipsec_api.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vnet/ipsec/ipsec_api.c b/src/vnet/ipsec/ipsec_api.c
index e96da8168fa..5fbf86bb7e3 100644
--- a/src/vnet/ipsec/ipsec_api.c
+++ b/src/vnet/ipsec/ipsec_api.c
@@ -192,13 +192,6 @@ static void vl_api_ipsec_sad_add_del_entry_t_handler
sa.id = ntohl (mp->sad_id);
sa.spi = ntohl (mp->spi);
- /* security protocol AH unsupported */
- if (mp->protocol == IPSEC_PROTOCOL_AH)
- {
- clib_warning ("unsupported security protocol 'AH'");
- rv = VNET_API_ERROR_UNIMPLEMENTED;
- goto out;
- }
sa.protocol = mp->protocol;
/* check for unsupported crypto-alg */
if (mp->crypto_algorithm < IPSEC_CRYPTO_ALG_AES_CBC_128 ||