Skip to content

Commit c05601c

Browse files
authored
[portsyncd]: add debug message if a port cannot be found in port able (sonic-net#1328)
1 parent a0b6412 commit c05601c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

portsyncd/linksync.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,8 @@ void LinkSync::onMsg(int nlmsg_type, struct nl_object *obj)
256256
m_statePortTable.set(key, vector);
257257
SWSS_LOG_NOTICE("Publish %s(ok) to state db", key.c_str());
258258
}
259+
else
260+
{
261+
SWSS_LOG_NOTICE("Cannot find %s in port table", key.c_str());
262+
}
259263
}

0 commit comments

Comments
 (0)