diff --git a/usr/local/lib/network.bash b/usr/local/lib/network.bash index fd902a6..1c73f14 100644 --- a/usr/local/lib/network.bash +++ b/usr/local/lib/network.bash @@ -1009,7 +1009,10 @@ network_status() do network_src_tab_get ${src_id} - echo ${src_device} + if [[ "${src_device}" != "" ]] + then + echo ${src_device} + fi done | sort -u echo "DST" @@ -1017,7 +1020,10 @@ network_status() do network_dst_tab_get ${dst_id} - echo ${dst_device} + if [[ "${dst_device}" != "" ]] + then + echo ${dst_device} + fi done | sort -u ) | while read entry do