aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/bonding
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/bonding')
-rw-r--r--src/vnet/bonding/bond_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/bonding/bond_api.c b/src/vnet/bonding/bond_api.c
index 50bae5d528d..958e594a4b1 100644
--- a/src/vnet/bonding/bond_api.c
+++ b/src/vnet/bonding/bond_api.c
@@ -63,8 +63,7 @@ bond_send_sw_interface_event_deleted (vpe_api_main_t * am,
mp->_vl_msg_id = ntohs (VL_API_SW_INTERFACE_EVENT);
mp->sw_if_index = ntohl (sw_if_index);
- mp->admin_up_down = 0;
- mp->link_up_down = 0;
+ mp->flags = 0;
mp->deleted = 1;
vl_msg_api_send_shmem (q, (u8 *) & mp);
}