better for local, not yet for peers
This commit is contained in:
parent
e660008d26
commit
ac2a71ea11
@ -159,8 +159,8 @@ class NtpsecDataUpdater(pyagentx3.Updater):
|
||||
if ds.data:
|
||||
try:
|
||||
for index, data_spec in enumerate(LOCAL_SERVER_KEYS):
|
||||
CURRENT_NAME_OID_BASE = '0.' + str(index) + '.0'
|
||||
CURRENT_VALUE_OID_BASE = '0.' + str(index) + '.1'
|
||||
CURRENT_NAME_OID_BASE = f"0.0.{index}"
|
||||
CURRENT_VALUE_OID_BASE = f"0.1.{index}"
|
||||
self._data[CURRENT_NAME_OID_BASE] = {
|
||||
'name': CURRENT_NAME_OID_BASE,
|
||||
'type': pyagentx3.TYPE_OCTETSTRING,
|
||||
|
Loading…
x
Reference in New Issue
Block a user