aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-06-13 07:42:54 -0700
committerDamjan Marion <dmarion@me.com>2019-06-13 20:28:08 +0000
commitfb341b87a901ec3b2cb6ff08c1f6278afd0e8086 (patch)
treee257fd4839fafe0e2ea4f7a5593a185019756c15
parent8062caebf84c8d1f88532e61fa5ed975ac653370 (diff)
ipsec: remove spurious warnings
Type: fix Fixes: 999c8ee6d6 Change-Id: Idcdddbe45f2e0adfd375b07199bb30f77c28702d Signed-off-by: Neale Ranns <nranns@cisco.com>
-rw-r--r--src/vnet/ipsec/ipsec_output.c1
-rw-r--r--src/vnet/ipsec/ipsec_spd.c3
-rw-r--r--src/vnet/ipsec/ipsec_spd_policy.c3
3 files changed, 0 insertions, 7 deletions
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);