Skip to content

Support client last transaction time (cltt) for IPv4, too#34

Open
aaron-sierra wants to merge 2 commits intoMartijnBraam:masterfrom
aaron-sierra:support-ipv4-cltt
Open

Support client last transaction time (cltt) for IPv4, too#34
aaron-sierra wants to merge 2 commits intoMartijnBraam:masterfrom
aaron-sierra:support-ipv4-cltt

Conversation

@aaron-sierra
Copy link
Copy Markdown
Contributor

Add cltt support for IPv4 leases (requested in #31), like it has been for IPv6 leases.

This changes the prototype of the Lease6 class API by dropping the cltt positional argument, but I hope there is low risk that users are directly instantiating anything other than IscDhcpLeases.

This also adds a big FIXME questioning the reliability of data submitted with the problem case from #20 😁

Aaron Sierra added 2 commits February 15, 2021 17:40
The _hardware "private" variable was only used to hold a temporary list
whose values were immediately assigned to hardware and ethernet public
variables.
Previously, the client last transaction time (cltt) was only parsed for
IPv6 despite also being defined for IPv4.

Now the corresponding last_communication public variable is assigned in
the BaseLease class instead of in Lease6.
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.005%) to 99.211% when pulling dcbdfe5 on aaron-sierra:support-ipv4-cltt into 831b827 on MartijnBraam:master.

@aaron-sierra aaron-sierra changed the title Support client last transcation time (cltt) for IPv4, too Support client last transaction time (cltt) for IPv4, too Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants