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

Mapping 2 MAC addresses to the same IP address not displayed correctly on web #3003

Closed
toffee opened this issue Apr 15, 2024 · 2 comments
Closed

Comments

@toffee
Copy link

toffee commented Apr 15, 2024

Versions

Platform

Expected behavior

MAC addresses (may be at least two) to be displayed correctly in Settings > DHCP > Static DHCP leases configuration table.

Actual behavior / bug

If you configure a dhcp host for two MAC addresses in 04-pihole-static-dhcp.conf file then the line is not parsed correctly.

Steps to reproduce

Steps to reproduce the behavior:

  1. Edit 04-pihole-static-dhcp.conf file and in one line configure 2 MAC addressed for the same host like:
    dhcp-host=D4:8X:XX:XX:XX:14,D4:8X:XX:XX:XX:17,192.168.120.60,zigbee-adapter
  2. Restart pi-hole
  3. View the changes displayed wrongly into Settings > DHCP > Static DHCP leases configuration table. The second MAC is displayed on IP address column, the IP address is displayed in Hostname column.

Screenshots

image

Additional info

This feature is supported by dnsmasq long time ago

@DL6ER
Copy link
Member

DL6ER commented Apr 15, 2024

Thanks for your report, this is already fixed in the v6 beta. There probably won't be another full v5 release.

Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.

@github-actions github-actions bot added the stale label May 16, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants