diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2019-09-03 10:40:01 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-12-11 09:39:42 +0000 |
commit | 5de4fb7076a46ab75e2d3c30079dd6639af16a86 (patch) | |
tree | 3ac12410c3d0769f5d950df53d6abb43fe54e5b9 /src/vnet/devices/tap/cli.c | |
parent | 8dc75c0cc3ac0db13778a0a32f9aa81597b80556 (diff) |
devices: tap API cleanup
Use consistent API types.
Type: fix
Change-Id: I11cc7f6347b7a60e5fd41e54f0c7994e2d81199f
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src/vnet/devices/tap/cli.c')
-rw-r--r-- | src/vnet/devices/tap/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/tap/cli.c b/src/vnet/devices/tap/cli.c index abec8f07842..a85fcbff25c 100644 --- a/src/vnet/devices/tap/cli.c +++ b/src/vnet/devices/tap/cli.c @@ -90,7 +90,7 @@ tap_create_command_fn (vlib_main_t * vm, unformat_input_t * input, else if (unformat (line_input, "gso")) args.tap_flags |= TAP_FLAG_GSO; else if (unformat (line_input, "hw-addr %U", - unformat_ethernet_address, args.mac_addr)) + unformat_ethernet_address, args.mac_addr.bytes)) args.mac_addr_set = 1; else { |