userspace/snmp: change the order of OIDs in wrsPtpInstanceTable
Move wrsPtpInstanceName to be the first (after indexes) OID.
Thanks to this, by doing snmpwalk/snmpgetnext of OID wrsPtpInstanceName(.<n>.<m>),
the user gets in a single responce:
--n - a port number
--m - an instance nubmer
--value which is an instance name
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
Showing
Please
register
or
sign in
to comment