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:
Adam Wujek <adam.wujek@cern.ch>
Showing
- doc/wrs-todo.in 0 additions, 6 deletionsdoc/wrs-todo.in
- userspace/libwr/include/libwr/util.h 4 additions, 0 deletionsuserspace/libwr/include/libwr/util.h
- userspace/libwr/ptpd_netif.c 4 additions, 12 deletionsuserspace/libwr/ptpd_netif.c
- userspace/libwr/shmem.c 7 additions, 12 deletionsuserspace/libwr/shmem.c
- userspace/libwr/util.c 22 additions, 5 deletionsuserspace/libwr/util.c
- userspace/snmpd/Makefile 1 addition, 0 deletionsuserspace/snmpd/Makefile
- userspace/snmpd/util.c 1 addition, 0 deletionsuserspace/snmpd/util.c
- userspace/snmpd/wrsBootStatusGroup.c 1 addition, 1 deletionuserspace/snmpd/wrsBootStatusGroup.c
- userspace/snmpd/wrsCpuLoadGroup.c 1 addition, 1 deletionuserspace/snmpd/wrsCpuLoadGroup.c
- userspace/snmpd/wrsCurrentTimeGroup.c 1 addition, 1 deletionuserspace/snmpd/wrsCurrentTimeGroup.c
- userspace/snmpd/wrsDiskTable.c 1 addition, 1 deletionuserspace/snmpd/wrsDiskTable.c
- userspace/snmpd/wrsGeneralStatusGroup.c 1 addition, 1 deletionuserspace/snmpd/wrsGeneralStatusGroup.c
- userspace/snmpd/wrsMemoryGroup.c 1 addition, 1 deletionuserspace/snmpd/wrsMemoryGroup.c
- userspace/snmpd/wrsNetworkingStatusGroup.c 1 addition, 1 deletionuserspace/snmpd/wrsNetworkingStatusGroup.c
- userspace/snmpd/wrsOSStatusGroup.c 1 addition, 1 deletionuserspace/snmpd/wrsOSStatusGroup.c
- userspace/snmpd/wrsPortStatusTable.c 1 addition, 1 deletionuserspace/snmpd/wrsPortStatusTable.c
- userspace/snmpd/wrsPstatsTable.c 1 addition, 1 deletionuserspace/snmpd/wrsPstatsTable.c
- userspace/snmpd/wrsPtpDataTable.c 1 addition, 1 deletionuserspace/snmpd/wrsPtpDataTable.c
- userspace/snmpd/wrsSnmp.h 1 addition, 0 deletionsuserspace/snmpd/wrsSnmp.h
- userspace/snmpd/wrsSpllStatusGroup.c 1 addition, 1 deletionuserspace/snmpd/wrsSpllStatusGroup.c
Please register or sign in to comment