pi-hole / web

Pi-hole Dashboard for stats and more
https://pi-hole.net
Other
2k stars 555 forks source link

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

Closed toffee closed 3 months ago

toffee commented 4 months ago

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 commented 4 months ago

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

github-actions[bot] commented 3 months ago

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.