Update pruebaRed.sh
This commit is contained in:
parent
f03bbddd1e
commit
546db77b5d
@ -211,7 +211,7 @@ get_interfaces() {
|
||||
print_title "ℹ TARJETAS DE RED"
|
||||
while read -r interface; do
|
||||
network_info+=("$(print_network_info "$interface")")
|
||||
done < <(ip -o link show | awk -F': ' '{print $2}')
|
||||
done < <(ip -o link show | awk -F': ' '{sub(/@.*/, "", $2); print $2}')
|
||||
|
||||
print_network_table
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user