FIB Interpose Source
[vpp.git] / src / vnet / udp / udp_encap.c
index 91d730c..8392b39 100644 (file)
@@ -263,7 +263,7 @@ format_udp_encap_i (u8 * s, va_list * args)
   ue = udp_encap_get (uei);
 
   // FIXME
-  s = format (s, "udp-ecap:[%d]: id:%d ip-fib-index:%d",
+  s = format (s, "udp-ecap:[%d]: id:%d ip-fib-index:%d ",
              uei, ue->ue_id, ue->ue_fib_index);
   if (FIB_PROTOCOL_IP4 == ue->ue_ip_proto)
     {
@@ -581,6 +581,9 @@ udp_encap_show (vlib_main_t * vm,
     {
       if (unformat (input, "%d", &ue_id))
        ;
+      else
+       return clib_error_return (0, "unknown input `%U'",
+                                 format_unformat_error, input);
     }
 
   if (~0 == ue_id)