Skip to content

Commit

Permalink
Do not update lag mtu from teamsyncd (netlink) (sonic-net#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
prsunny authored Sep 18, 2019
1 parent 3fb22e1 commit da514f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions teamsyncd/teamsync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,8 @@ void TeamSync::addLag(const string &lagName, int ifindex, bool admin_state,
std::vector<FieldValueTuple> fvVector;
FieldValueTuple a("admin_status", admin_state ? "up" : "down");
FieldValueTuple o("oper_status", oper_state ? "up" : "down");
FieldValueTuple m("mtu", to_string(mtu));
fvVector.push_back(a);
fvVector.push_back(o);
fvVector.push_back(m);
m_lagTable.set(lagName, fvVector);

SWSS_LOG_INFO("Add %s admin_status:%s oper_status:%s, mtu: %d",
Expand Down

0 comments on commit da514f5

Please sign in to comment.