SNMP: wrong text for errors like: wrsPTPFramesFlowing: No TX PTP frames flowing for port XX (wriXX) which is up and in WR mode
The condition in the if statement does not depend on the WR mode.
wrsPTPFramesFlowing: No TX PTP frames flowing for port XX (wriXX) which is up and in WR mode
wrsPTPFramesFlowing: No RX PTP frames flowing for port XX (wriXX) which is up and in WR mode
The code has been changed in the commit 57d02a71 in the wr-switch-sw repo to:
if ((p_a[i].wrsPortStatusMonitor != WRS_PORT_STATUS_MONITOR_DISABLE)
&& (p_a[i].wrsPortStatusLink == WRS_PORT_STATUS_LINK_UP)) {
if (wrsPortStatusPtpTxFrames_prev[i] == p_a[i].wrsPortStatusPtpTxFrames) {
file userspace/snmpd/wrsTimingStatusGroup.c