Ver código fonte

Merge pull request #2186 from trapier/support_sh_add_links

support.sh: add host links
Flavio Crisciani 7 anos atrás
pai
commit
c19cc28bd8
1 arquivos alterados com 3 adições e 2 exclusões
  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"