Fix output IPv4 addr when removing CIDR notation (#1498)

pull/1500/head
WaLLy3K 7 years ago committed by DL6ER
parent 4ad0cdf5d4
commit 10139241f5

@ -361,7 +361,7 @@ chronoFunc() {
printFunc " HDD usage: " "$disk_perc"
printf "%s(%s)%s\n" "$COL_DARK_GRAY" "Used: $(hrBytes "$disk_used") of $(hrBytes "$disk_total")" "$COL_NC"
printFunc " LAN addr: " "${IPV4_ADDRESS:0:-3}"
printFunc " LAN addr: " "${IPV4_ADDRESS/\/*/}"
printf "%s(%s)%s\n" "$COL_DARK_GRAY" "Gateway: $net_gateway" "$COL_NC"
if [[ "$DHCP_ACTIVE" == "true" ]]; then

Loading…
Cancel
Save