summaryrefslogtreecommitdiffstats
path: root/src/vnet/unix/tap_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/unix/tap_api.c')
-rw-r--r--src/vnet/unix/tap_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/unix/tap_api.c b/src/vnet/unix/tap_api.c
index 7e812c4fa17..3a64e1009cf 100644
--- a/src/vnet/unix/tap_api.c
+++ b/src/vnet/unix/tap_api.c
@@ -67,7 +67,7 @@ send_sw_interface_event_deleted (vpe_api_main_t * am,
mp = vl_msg_api_alloc (sizeof (*mp));
memset (mp, 0, sizeof (*mp));
- mp->_vl_msg_id = ntohs (VL_API_SW_INTERFACE_SET_FLAGS);
+ mp->_vl_msg_id = ntohs (VL_API_SW_INTERFACE_EVENT);
mp->sw_if_index = ntohl (sw_if_index);
mp->admin_up_down = 0;