IPSEC: Pass the algorithm salt (used in GCM) over the API
[vpp.git] / src / vnet / interface_output.c
index a013810..698c6e1 100644 (file)
@@ -850,9 +850,6 @@ vnet_interface_output_node_inline (vlib_main_t * vm,
                                   vnet_hw_interface_t * hi,
                                   int do_tx_offloads)
 {
-  vnet_interface_pcap_tx_trace (vm, node, frame,
-                               0 /* sw_if_index_from_buffer */ );
-
   /*
    * The 3-headed "if" is here because we want to err on the side
    * of not impacting the non-GSO performance - so for the more
@@ -1000,7 +997,8 @@ format_vnet_error_trace (u8 * s, va_list * va)
   CLIB_UNUSED (vlib_node_t * node) = va_arg (*va, vlib_node_t *);
   vnet_error_trace_t *t = va_arg (*va, vnet_error_trace_t *);
 
-  s = format (s, " rx:%d", t->sw_if_index);
+  s = format (s, "rx:%U", format_vnet_sw_if_index_name,
+             vnet_get_main (), t->sw_if_index);
 
   return s;
 }