From 3d1ef873da900ddf4ef18d5cf7709aab70ed6b7d Mon Sep 17 00:00:00 2001 From: Jakub Grajciar Date: Mon, 26 Aug 2019 12:55:15 +0200 Subject: bonding: API cleanup Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar Change-Id: Idbba4ab6a412b75338e3149e51476693f0862f16 Signed-off-by: Jakub Grajciar --- extras/vom/vom/bond_interface_cmds.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extras/vom') diff --git a/extras/vom/vom/bond_interface_cmds.cpp b/extras/vom/vom/bond_interface_cmds.cpp index a43a832222a..b5b459a0d42 100644 --- a/extras/vom/vom/bond_interface_cmds.cpp +++ b/extras/vom/vom/bond_interface_cmds.cpp @@ -43,11 +43,11 @@ create_cmd::issue(connection& con) payload.use_custom_mac = 1; } - payload.mode = m_mode.value(); + payload.mode = (vapi_enum_bond_mode)m_mode.value(); if ((m_mode == bond_interface::mode_t::XOR || m_mode == bond_interface::mode_t::LACP) && m_lb != bond_interface::lb_t::UNSPECIFIED) - payload.lb = m_lb.value(); + payload.lb = (vapi_enum_bond_lb_algo)m_lb.value(); VAPI_CALL(req.execute()); -- cgit 1.2.3-korg