From fb341b87a901ec3b2cb6ff08c1f6278afd0e8086 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 13 Jun 2019 07:42:54 -0700 Subject: ipsec: remove spurious warnings Type: fix Fixes: 999c8ee6d6 Change-Id: Idcdddbe45f2e0adfd375b07199bb30f77c28702d Signed-off-by: Neale Ranns --- src/vnet/ipsec/ipsec_output.c | 1 - src/vnet/ipsec/ipsec_spd.c | 3 --- src/vnet/ipsec/ipsec_spd_policy.c | 3 --- 3 files changed, 7 deletions(-) (limited to 'src/vnet') diff --git a/src/vnet/ipsec/ipsec_output.c b/src/vnet/ipsec/ipsec_output.c index a37e8c2d777..25a427f6ad6 100644 --- a/src/vnet/ipsec/ipsec_output.c +++ b/src/vnet/ipsec/ipsec_output.c @@ -473,7 +473,6 @@ static uword ipsec_output_node_fn (vlib_main_t * vm, vlib_node_runtime_t * node, vlib_frame_t * frame) { - clib_warning ("IPSec disabled"); return 0; } diff --git a/src/vnet/ipsec/ipsec_spd.c b/src/vnet/ipsec/ipsec_spd.c index 45a379db399..ef41c2286c1 100644 --- a/src/vnet/ipsec/ipsec_spd.c +++ b/src/vnet/ipsec/ipsec_spd.c @@ -88,9 +88,6 @@ ipsec_set_interface_spd (vlib_main_t * vm, u32 sw_if_index, u32 spd_id, hash_unset (im->spd_index_by_sw_if_index, sw_if_index); } - clib_warning ("sw_if_index %u spd_id %u spd_index %u", - sw_if_index, spd_id, spd_index); - /* enable IPsec on TX */ vnet_feature_enable_disable ("ip4-output", "ipsec4-output-feature", sw_if_index, is_add, 0, 0); diff --git a/src/vnet/ipsec/ipsec_spd_policy.c b/src/vnet/ipsec/ipsec_spd_policy.c index 8528c8eafa3..34b7dc2efca 100644 --- a/src/vnet/ipsec/ipsec_spd_policy.c +++ b/src/vnet/ipsec/ipsec_spd_policy.c @@ -142,9 +142,6 @@ ipsec_add_del_policy (vlib_main_t * vm, u32 spd_index; uword *p; - clib_warning ("policy-id %u priority %d type %U", policy->id, - policy->priority, format_ipsec_policy_type, policy->type); - if (policy->policy == IPSEC_POLICY_ACTION_PROTECT) { p = hash_get (im->sa_index_by_sa_id, policy->sa_id); -- cgit 1.2.3-korg