Skip to content

Commit

Permalink
update handler
Browse files Browse the repository at this point in the history
  • Loading branch information
zjswhhh committed Jan 26, 2022
1 parent 4a6c1e2 commit 1559298
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DbInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -615,14 +615,14 @@ void DbInterface::processMuxPortConfigNotifiction(std::deque<swss::KeyOpFieldsVa
mMuxManagerPtr->updateMuxPortConfig(port, v);
}

std::vector<swss::FieldValueTuple>::const_iterator cit = std::find_if(
std::vector<swss::FieldValueTuple>::const_iterator c_it = std::find_if(
fieldValues.cbegin(),
fieldValues.cend(),
[] (const swss::FieldValueTuple &fv) {return fvField(fv) == "pck_loss_data_reset";}
);
if (cit != fieldValues.cend()) {
const std::string f = cit->first;
const std::string v = cit->second;
if (c_it != fieldValues.cend()) {
const std::string f = c_it->first;
const std::string v = c_it->second;

MUXLOGDEBUG(boost::format("key: %s, Operation: %s, f: %s, v: %s") %
port %
Expand Down

0 comments on commit 1559298

Please sign in to comment.