pi-hole / PADD

PADD (formerly Chronometer2) is a more expansive version of the original chronometer.sh that is included with Pi-Hole. PADD provides in-depth information about your Pi-hole.
1.37k stars 121 forks source link

DHCP Text Alignment #4

Closed ghost closed 7 years ago

ghost commented 7 years ago

any chance you can fix the alignment issues with the DHCP line along with ( ) i tried to mimic the screenshot you have on the main page but i couldn't figure it out

image 003

jpmck commented 7 years ago

This was changed in commit 45c43fe due to "long" IP address (i.e. 192.168.100.100) ranges wrapping on the PiTFT display.

Example:

NETWORK ====================================================
 Gateway:  192.168.100.2
 IPv4:     192.168.100.3/24
 IPv6:     2601:542:101:3c6f:c3aa:ee5f:2930:bb6c
 DHCP:     Enabled            192.168.100.100 - 192.168.100.1
50
SYSTEM =====================================================

I plan on reformatting the display in the future, but don't plan on changing it right now.

jpmck commented 7 years ago

This issue has been fixed by commit b6998c6.

The DHCP section of the display has been tweaked to either show the IP range being handed out (if Pi-hole is acting as the DHCP server), or the IP address of the DHCP server on the network.

DHCP SERVER ================================================
 Status:   Enabled            IPv6:     Enabled
 Range:    192.168.100.100 - 192.168.100.150

or

DHCP SERVER ================================================
 Status:   Disabled           IPv6:     N/A
 Server:   192.168.100.2