diff --git a/myip.sh b/myip.sh index a1ca6db..d55504f 100644 --- a/myip.sh +++ b/myip.sh @@ -8,10 +8,10 @@ INTERFACES=$( ip a show | grep -E "^[0-9]{0,3}:" | cut -d ' ' -f 2 | cut -d : -f for ni in $INTERFACES do - if [[ $ni != "lo" ]] && [[ ! $ni =~ "veth" ]] && [[ ! $ni =~ "docker_" ]]; then + if [[ $ni != "lo" ]] && [[ ! $ni =~ "veth" ]] && [[ ! $ni =~ "br-" ]] && [[ ! $ni =~ "docker_" ]]; then IP="$(get_ip $ni)" if [[ ! -z $IP ]]; then echo -n " #[fg=#${COLOR_ACCENT}]$ni #[fg=white]$IP " fi fi -done \ No newline at end of file +done