Skip to content
Snippets Groups Projects
Commit bae18a50 authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

userspace/snmpd: Perform data fill in init function


Trigger data fill in init function to avoid getting "first read" values later.
Note: This "trick" may not work when cache update time is increased
significantly.

Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent 7f1442cc
Branches
Tags
No related merge requests found
......@@ -52,4 +52,9 @@ void init_wrsSnmp(void)
init_wrsPstatsTable();
init_wrsPtpDataTable();
init_wrsPortStatusTable();
/* perform first reads, needed to calculate deltas later */
wrsTimingStatus_data_fill();
wrsNetworkingStatus_data_fill();
}
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