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

Prevent wrong client name in Get_LocalName() #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dave14305
Copy link
Contributor

If a client IP is not online and present in ip neigh at the time of stats generation, the macaddr variable will be empty and the Get_LocalName() function will return the last client name from nvram variable custom_clientlist, instead of skipping to the DHCP lease file.

If a client IP is not online and present in `ip neigh` at the time
of stats generation, the macaddr variable will be empty and the
Get_LocalName() function will return the last client name from
nvram variable custom_clientlist, instead of skipping to the DHCP
lease file.
@dave14305 dave14305 mentioned this pull request Feb 8, 2025
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.

1 participant