1. 26 Jun, 2019 1 commit
  2. 03 Jun, 2019 1 commit
  3. 20 Jul, 2018 1 commit
  4. 24 Feb, 2016 1 commit
    • Adam Wujek's avatar
      userspace/snmpd: bugfix 1164, replace time() with monotinic version from libwr · 3a82aacf
      Adam Wujek authored
      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.
      
      Our part of SNMP implementation used "time" function for calculating SNMP's
      cache timeouts. When clock is set backwards then cache can be valid for very
      long time.
      
      Monotonic clock is used instead from ulit.c (libwr)
      
      Add util.c to the compilation.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      3a82aacf
  5. 21 Aug, 2015 2 commits
  6. 20 Aug, 2015 1 commit
  7. 10 Jul, 2015 1 commit
  8. 21 Apr, 2015 4 commits