vppapigen: crc is a negative value for some messages when using python 2.7
[vpp.git] / src / vnet / devices / tap / cli.c
index 8d5e3b4..8d59210 100644 (file)
@@ -57,7 +57,8 @@ tap_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
          else if (unformat (line_input, "host-ns %s", &args.host_namespace))
            ;
          else if (unformat (line_input, "host-mac-addr %U",
-                            unformat_ethernet_address, args.host_mac_addr))
+                            unformat_ethernet_address,
+                            args.host_mac_addr.bytes))
            ;
          else if (unformat (line_input, "host-bridge %s", &args.host_bridge))
            ;