acl-plugin: remove the clib_warning "ACL enabling..." 94/8494/3
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 21 Sep 2017 22:40:48 +0000 (00:40 +0200)
committerDave Barach <openvpp@barachs.net>
Fri, 22 Sep 2017 10:49:31 +0000 (10:49 +0000)
It was useful for debugging once upon a time...
but time to say goodbye to it...
Also remove the warning printed when sending ACL details.

Change-Id: I43b2537e176556831eb7ff34b25c9068aa05ee27
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c

index 04a6686..4161697 100644 (file)
@@ -563,9 +563,6 @@ acl_hook_l2_input_classify (acl_main_t * am, u32 sw_if_index)
   rv =
     vnet_l2_input_classify_set_tables (sw_if_index, ip4_table_index,
                                       ip6_table_index, ~0);
-  clib_warning
-    ("ACL enabling on interface sw_if_index %d, setting tables to the following: ip4: %d ip6: %d\n",
-     sw_if_index, ip4_table_index, ip6_table_index);
   if (rv)
     {
       acl_classify_add_del_table_tiny (cm, ip6_5tuple_mask,
@@ -1499,7 +1496,6 @@ send_acl_details (acl_main_t * am, unix_shared_memory_queue_t * q,
       copy_acl_rule_to_api_rule (&rules[i], &acl->rules[i]);
     }
 
-  clib_warning("Sending acl details for ACL index %d", ntohl(mp->acl_index));
   clib_mem_set_heap (oldheap);
   vl_msg_api_send_shmem (q, (u8 *) & mp);
 }