From bef873c9dfc232510a7b0076067bb2bdfb93caca Mon Sep 17 00:00:00 2001 From: Trapier Marshall Date: Wed, 13 Jun 2018 16:27:54 -0400 Subject: [PATCH] support.sh: add host links also made the heading for host iptables state clearer Signed-off-by: Trapier Marshall --- libnetwork/support.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libnetwork/support.sh b/libnetwork/support.sh index 0af7b7126b..c4f21aa751 100755 --- a/libnetwork/support.sh +++ b/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"