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

Merge branch 'adam-time'


Replace time() calls with monotinic version from libwr
Fix bug 1164 and similar problems in other programs.

It was possible that SNMP objects in expert branch don't update.
It pop-up in following scenario:
  1. slave switch is started with no ntp configured
  2. read via snmp from slave
  3. master switch is started with no ntp configured
  4. slave sync to master and set it's time, by this system clock on slave is set
     to earlier date
  5. read via snmp from slave will end up in the same results in expert branch of
     the MIB.

Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parents ccdc9a56 035da384
Branches
Tags
No related merge requests found
Showing
with 52 additions and 47 deletions
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