Skip to content

Commit

Permalink
[252] Create hostif fails on vslib when no tap device is used (sonic-…
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik authored Oct 27, 2017
1 parent 5645698 commit 9658f75
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vslib/src/sai_vs_hostintf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,11 @@ sai_status_t vs_create_hostif_int(

if (g_vs_hostif_use_tap_device == false)
{
return SAI_STATUS_SUCCESS;
return vs_generic_create(object_type,
hostif_id,
switch_id,
attr_count,
attr_list);
}

// validate SAI_HOSTIF_ATTR_TYPE
Expand Down

0 comments on commit 9658f75

Please sign in to comment.