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

dnsmasq: Add add-mac, add-subnet and strip-subnet options #8447

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

Monviech
Copy link
Member

Fixes: #8440

The "add-subnet" option would be pretty hard to validate without a custom field type, or splitting the field up into like 2 integer and 2 Network fields (4 fields). Thus only the most probable use-case of adding the IPv4 and IPv6 client addresses was added. Even that would be hard to split up, as the documentation is a little fuzzy about only setting IPv6 for example.

This here is the simplest fix without spending too much time.

@Monviech Monviech added the feature Adding new functionality label Mar 17, 2025
@Monviech Monviech self-assigned this Mar 17, 2025
Copy link
Member

@AdSchellevis AdSchellevis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Monviech I doubted a bit about the add-subnet part, but also don't expect a lot of other valid uses-cases than sending the client ip.

@Monviech Monviech merged commit d2b78e1 into master Mar 17, 2025
@Monviech Monviech deleted the dnsmasq-add-mac branch March 17, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding new functionality
Development

Successfully merging this pull request may close these issues.

[dnsmasq] Make additional dnsmasq options available in GUI
2 participants