Skip to content

Commit

Permalink
Correct the spell check error
Browse files Browse the repository at this point in the history
* Update: modified some words to pass the spell-check error

Signed-off-by: Rakesh Datta <[email protected]>
  • Loading branch information
Rakesh Datta committed Jul 31, 2019
1 parent 2d3f0d0 commit 3f38ee5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vslib/src/sai_vs_port.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ sai_status_t vs_set_port_attribute(

std::string cmd;

// For samplepacket attr, 'tc sample' command is invoked
// Special handling for the sampling attribute modification
if (attr->id == SAI_PORT_ATTR_INGRESS_SAMPLEPACKET_ENABLE)
{
// Get the samplepacket object id
// Get the sample-packet object id
sai_object_id_t samplepacket_oid = attr->value.oid;

// Get the if_name from the port_id
// Get the interface name from the port id
std::string if_name;
if (g_vs_switch_id == SAI_NULL_OBJECT_ID)
{
Expand Down

0 comments on commit 3f38ee5

Please sign in to comment.