Update pruebaRed.sh
This commit is contained in:
parent
af65bd47c1
commit
a816e6a075
@ -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