X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdevices%2Ftap%2Ftapv2_api.c;h=8f1633ca91ed2ba279738eef45ac9a53e482a5f6;hb=e63325e3ca03c847963863446345e6c80a2c0cfd;hp=1260afdd24f3eab19c951113d721fa577c96fe8b;hpb=4ba4edd15085ce31145ef5da6342e435c57c1150;p=vpp.git diff --git a/src/vnet/devices/tap/tapv2_api.c b/src/vnet/devices/tap/tapv2_api.c index 1260afdd24f..8f1633ca91e 100644 --- a/src/vnet/devices/tap/tapv2_api.c +++ b/src/vnet/devices/tap/tapv2_api.c @@ -148,8 +148,7 @@ tap_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_api_send_msg (reg, (u8 *) mp); }