Skip to content

Commit

Permalink
Fix IPv4 address indicator (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
yubiuser authored Feb 24, 2025
2 parents a133415 + a0df3ff commit b00933f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions padd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,9 @@ GetNetworkInformation() {
if [ "${pi_ip4_addrs}" -eq 0 ]; then
# No IPv4 address available
pi_ip4_addr="N/A"
#elif [ "${pi_ip4_addrs}" -eq 1 ]; then
# # One IPv4 address available
elif [ "${pi_ip4_addrs}" -eq 1 ]; then
# One IPv4 address available
: # Do nothing as the address is already set
else
# More than one IPv4 address available
pi_ip4_addr="${pi_ip4_addr}+"
Expand Down

0 comments on commit b00933f

Please sign in to comment.