Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aaron-sierra
Copy link
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

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.

None yet

2 participants