diff options
Diffstat (limited to 'vpp/api/api.c')
-rw-r--r-- | vpp/api/api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vpp/api/api.c b/vpp/api/api.c index 493b249a..42cb772e 100644 --- a/vpp/api/api.c +++ b/vpp/api/api.c @@ -6055,7 +6055,7 @@ vl_api_netmap_create_t_handler int rv = 0; u8 *if_name = NULL; - if_name = format(0, "%s", mp->if_name); + if_name = format(0, "%s", mp->netmap_if_name); vec_add1 (if_name, 0); rv = netmap_create_if(vm, if_name, mp->use_random_hw_addr ? 0 : mp->hw_addr, @@ -6075,7 +6075,7 @@ vl_api_netmap_delete_t_handler int rv = 0; u8 *if_name = NULL; - if_name = format(0, "%s", mp->if_name); + if_name = format(0, "%s", mp->netmap_if_name); vec_add1 (if_name, 0); rv = netmap_delete_if(vm, if_name); |