userspace/snmpd: don't update wrsPTPStatus when only spllStatus changes
When wrsPTPStatus can only be updated when both ptp_data and spllStatus are
updated. Otherwise spllStatus changes may cause wrong delta calculation
in get_wrsPTPStatus function. In this case prev data is the same as current,
which may produce false error.
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
Showing
Please
register
or
sign in
to comment