Merge pull request #2186 from trapier/support_sh_add_links

support.sh: add host links
This commit is contained in:
Flavio Crisciani 2018-06-15 08:58:38 -07:00 committed by GitHub
commit c19cc28bd8

View file

@ -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"