From f041c84df20dd04043e593a81ca95d09c7a68704 Mon Sep 17 00:00:00 2001 From: Nazarii Hnydyn Date: Tue, 15 Sep 2020 22:48:09 +0300 Subject: [PATCH] [teamsyncd]: Fix LAG add: write MTU configuration. (#1437) --- teamsyncd/teamsync.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teamsyncd/teamsync.cpp b/teamsyncd/teamsync.cpp index 2102d070bd36..846d474a6cd3 100644 --- a/teamsyncd/teamsync.cpp +++ b/teamsyncd/teamsync.cpp @@ -148,8 +148,10 @@ void TeamSync::addLag(const string &lagName, int ifindex, bool admin_state, std::vector fvVector; FieldValueTuple a("admin_status", admin_state ? "up" : "down"); FieldValueTuple o("oper_status", oper_state ? "up" : "down"); + FieldValueTuple m("mtu", std::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",