Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
bef873c9df
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      libnetwork/support.sh

+ 3 - 2
libnetwork/support.sh

@@ -49,13 +49,14 @@ else
     NETINSPECT_VERBOSE_SUPPORT=""
 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 nat | grep -v '^$'
 echo_and_run ${IPTABLES} -w1 -n -v -L -t mangle | grep -v '^$'
 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} -4 route show
 printf "\n"