Skip to content

Conversation

rcastberg
Copy link
Contributor

@rcastberg rcastberg commented Oct 2, 2024

Not sure if this is of interest, and I am sure that there are better ways of implementing this, and don't feel you need to merge as this may be specific to me.

I was getting notified of clients with blank IPs, and it seems that the $client->IP isn't always populated, so I added an option to add the last IP and if that was not found to used fixed IP.

I have added some features to my code for always notifying if the client is on a specific network (e.g. guest), a None notifier (e.g. just print to console, useful for debugging), and adding a comment if the mac address is randomized, and reading the mac addresses from file. I can create pull requests for these if any are of interest, but I don't want to impose.

@ZSamuels28
Copy link
Owner

@rcastberg that seems odd, in what cases would IP not be populated?

Perhaps we add a setting to this to allow user to pull the last populated IP or have it blank?

@ZSamuels28 ZSamuels28 self-requested a review October 10, 2024 19:59
@ZSamuels28 ZSamuels28 added the enhancement New feature or request label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants