diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2020-01-30 13:36:02 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-01-30 20:27:56 +0000 |
commit | 3039753eda526e63d57a09debd3762e5590459df (patch) | |
tree | 06223ed901d145fbbf822c37540e9e714844840b /src/vnet/devices/tap/cli.c | |
parent | ffad890961b7a5809ba08b4ab1c54001d8fd06d3 (diff) |
tap: fix the host mac address
Tap configuration code sets the host mac address
two time. This patch fixes it.
Type: fix
Change-Id: I7bebb9b7f25352a8a9a98bae6a0636757c0cea9c
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/tap/cli.c')
-rw-r--r-- | src/vnet/devices/tap/cli.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/devices/tap/cli.c b/src/vnet/devices/tap/cli.c index 8d5e3b44e31..8d59210c293 100644 --- a/src/vnet/devices/tap/cli.c +++ b/src/vnet/devices/tap/cli.c @@ -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)) ; |