Commit 14b812f5 authored by Adam Wujek's avatar Adam Wujek 💬

[BUG: 1632] userspace/snmpd: display PTP OIDs even if GM is not able to lock to 10MHz

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent a0e412f1
......@@ -67,7 +67,9 @@ time_t wrsPtpDataTable_data_fill(unsigned int *n_rows)
/* check whether shmem is available */
if (!shmem_ready_ppsi()) {
snmp_log(LOG_ERR, "%s: Unable to read PPSI's shmem\n", __func__);
n_rows_local = 0;
/* Keep one empty instance. If set to 0 all PPSI related OIDs
* disappear */
n_rows_local = 1;
return time_update;
} else {
n_rows_local = WRS_MAX_N_SERVO_INSTANCES;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment