summaryrefslogtreecommitdiff
path: root/mibs/SNMP-MPD-MIB.txt
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-03-10 09:10:12 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-03-10 09:10:12 +0000
commit77448e1d5ece6244beeb7f92bd37d24a18259ac2 (patch)
treee33f4ff5bea218b31720e74fd579bbe9af427249 /mibs/SNMP-MPD-MIB.txt
parentfe4da6288649b32779d30d5672e39cae40e72100 (diff)
downloadvyos-1x-77448e1d5ece6244beeb7f92bd37d24a18259ac2.tar.gz
vyos-1x-77448e1d5ece6244beeb7f92bd37d24a18259ac2.zip
T4973: DHCP server fix output for long leases
With long lease time for example lease '4294967295' seconds it is impossible to get end lease as value is 'ends never;' It cause error to get timestamp() from 'ends never' and remaining time 'lease.end - datetime.utcnow()' Set default remaining and end lease to '-' if we cannot get this info
Diffstat (limited to 'mibs/SNMP-MPD-MIB.txt')
0 files changed, 0 insertions, 0 deletions