Skip to content

Commit

Permalink
updated mclag port isolate platform check function
Browse files Browse the repository at this point in the history
  • Loading branch information
gitsabari committed Nov 17, 2020
1 parent 1fa765b commit 3779438
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mclagsyncd/mclaglink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <iostream>
#include <sstream>
#include "table.h"
#include "orch.h"

using namespace swss;
using namespace std;
Expand Down Expand Up @@ -245,7 +246,8 @@ void MclagLink::mclagsyncd_fetch_vlan_mbr_table_from_statedb()

void MclagLink::setPortIsolate(char *msg)
{
if (true)
char *platform = getenv("platform");
if ((NULL != platform) && (strstr(platform, BRCM_PLATFORM_SUBSTRING)))
{
mclag_sub_option_hdr_t *op_hdr = NULL;
string isolate_src_port;
Expand Down

0 comments on commit 3779438

Please sign in to comment.