diff options
-rwxr-xr-x | mtu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ function actually_just_show { } function get_default_iface { - iface=$(ip a | grep "state UP" | cut -d: -f2 | tr -d '[[:space:]]') + iface=$(ip a | grep "state UP" | grep -v "virbr0" | cut -d: -f2 | tr -d '[[:space:]]') if [ "x" == "x$iface" ] then echo "No active iface" |