summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2014-06-04 10:22:35 -0400
committerBill Peck <bpeck@redhat.com>2014-06-04 10:22:35 -0400
commit0a80afd5c94f7d9c842e9c39dc14773e48df1781 (patch)
treef5a8297abae2edf6e700258e43ff7a0e2be34c2e
parent16336749ae065568fb8ce844f61da055ca2adfc9 (diff)
downloadtests-0a80afd5c94f7d9c842e9c39dc14773e48df1781.tar.gz
tests-0a80afd5c94f7d9c842e9c39dc14773e48df1781.tar.xz
tests-0a80afd5c94f7d9c842e9c39dc14773e48df1781.zip
Collect ipv4 info as well, could help in determining main interface.
-rwxr-xr-xmisc/ipv6/info/collect.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/ipv6/info/collect.sh b/misc/ipv6/info/collect.sh
index e227c88..62e709a 100755
--- a/misc/ipv6/info/collect.sh
+++ b/misc/ipv6/info/collect.sh
@@ -4,6 +4,7 @@ hostname > ipv6.log
for dev in $(ip -6 -o a s | grep -v lo | awk '{print $2}'); do
ip -0 -o a s $dev >> ipv6.log
+ ip -4 -o a s $dev >> ipv6.log
ip -6 -o a s $dev >> ipv6.log
done