Skip to content

Commit

Permalink
Merge pull request #253 from pi-hole/fix_ipv6_alignment
Browse files Browse the repository at this point in the history
Remove empty line after IPv6 on tiny and regular
  • Loading branch information
yubiuser authored Aug 19, 2022
2 parents c990062 + 45ec1ae commit b14a97c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions padd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ PrintNetworkInformation() {
elif [ "$1" = "tiny" ]; then
CleanEcho "${bold_text}NETWORK ============================================${reset_text}"
CleanPrintf " %-10s%-16s %-8s%-16s\e[0K\\n" "Hostname:" "${full_hostname}" "IP: " "${pi_ip4_addr}"
CleanPrintf " %-10s%-16s %-8s%-16s\e[0K\\n" "IPv6:" "${pi_ip6_addr}"
CleanPrintf " %-10s%-16s\e[0K\\n" "IPv6:" "${pi_ip6_addr}"
CleanPrintf " %-10s%-16s %-4s%-5s %-4s%-5s\e[0K\\n" "Interfce:" "${iface_name}" "TX:" "${tx_bytes}" "RX:" "${rx_bytes}"
CleanPrintf " %-10s%-16s %-8s%-16s\e[0K\\n" "DNS:" "${dns_information}" "DNSSEC:" "${dnssec_heatmap}${dnssec_status}${reset_text}"

Expand All @@ -681,7 +681,7 @@ PrintNetworkInformation() {
elif [ "$1" = "regular" ] || [ "$1" = "slim" ]; then
CleanEcho "${bold_text}NETWORK ===================================================${reset_text}"
CleanPrintf " %-10s%-19s %-10s%-19s\e[0K\\n" "Hostname:" "${full_hostname}" "IP:" "${pi_ip4_addr}"
CleanPrintf " %-10s%-19s %-10s%-19s\e[0K\\n" "IPv6:" "${pi_ip6_addr}"
CleanPrintf " %-10s%-19s\e[0K\\n" "IPv6:" "${pi_ip6_addr}"
CleanPrintf " %-10s%-19s %-4s%-5s %-4s%-5s\e[0K\\n" "Interfce:" "${iface_name}" "TX:" "${tx_bytes}" "RX:" "${rx_bytes}"
CleanPrintf " %-10s%-19s %-10s%-19s\e[0K\\n" "DNS:" "${dns_information}" "DNSSEC:" "${dnssec_heatmap}${dnssec_status}${reset_text}"

Expand Down

0 comments on commit b14a97c

Please sign in to comment.