瀏覽代碼

support.sh: add host links

also made the heading for host iptables state clearer

Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
Trapier Marshall 7 年之前
父節點
當前提交
bef873c9df
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      libnetwork/support.sh

+ 3 - 2
libnetwork/support.sh

@@ -49,13 +49,14 @@ else
     NETINSPECT_VERBOSE_SUPPORT=""
     NETINSPECT_VERBOSE_SUPPORT=""
 fi
 fi
 
 
-echo "Host Configuration"
+echo "Host iptables"
 echo_and_run ${IPTABLES} -w1 -n -v -L -t filter | grep -v '^$'
 echo_and_run ${IPTABLES} -w1 -n -v -L -t filter | grep -v '^$'
 echo_and_run ${IPTABLES} -w1 -n -v -L -t nat | grep -v '^$'
 echo_and_run ${IPTABLES} -w1 -n -v -L -t nat | grep -v '^$'
 echo_and_run ${IPTABLES} -w1 -n -v -L -t mangle | grep -v '^$'
 echo_and_run ${IPTABLES} -w1 -n -v -L -t mangle | grep -v '^$'
 printf "\n"
 printf "\n"
 
 
-echo "Host addresses and routes"
+echo "Host links addresses and routes"
+echo_and_run ${IP} -o link show
 echo_and_run ${IP} -o -4 address show
 echo_and_run ${IP} -o -4 address show
 echo_and_run ${IP} -4 route show
 echo_and_run ${IP} -4 route show
 printf "\n"
 printf "\n"