Skip to content

Commit

Permalink
Fix IPv4 address indicator
Browse files Browse the repository at this point in the history
Signed-off-by: yubiuser <[email protected]>
  • Loading branch information
yubiuser committed Feb 23, 2025
1 parent a133415 commit a0df3ff
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 a0df3ff

Please sign in to comment.