X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdevices%2Fvirtio%2Fvirtio_api.c;h=5035799befec0e1b2be0418f6839f0eb2d5d68b7;hb=3b0d7e42f65eaf8d84cfe26e2e9f5244c554b934;hp=b2ac471e9e92e13b75940b3ec28397ae9e12423a;hpb=e63325e3ca03c847963863446345e6c80a2c0cfd;p=vpp.git diff --git a/src/vnet/devices/virtio/virtio_api.c b/src/vnet/devices/virtio/virtio_api.c index b2ac471e9e9..5035799befe 100644 --- a/src/vnet/devices/virtio/virtio_api.c +++ b/src/vnet/devices/virtio/virtio_api.c @@ -97,7 +97,8 @@ virtio_pci_send_sw_interface_event_deleted (vpe_api_main_t * am, mp->_vl_msg_id = htons (VL_API_SW_INTERFACE_EVENT); mp->sw_if_index = htonl (sw_if_index); - mp->flags = 0; + mp->admin_up_down = 0; + mp->link_up_down = 0; mp->deleted = 1; vl_api_send_msg (reg, (u8 *) mp); }