diff options
author | Bill Peck <bpeck@redhat.com> | 2014-06-04 10:22:35 -0400 |
---|---|---|
committer | Bill Peck <bpeck@redhat.com> | 2014-06-04 10:22:35 -0400 |
commit | 0a80afd5c94f7d9c842e9c39dc14773e48df1781 (patch) | |
tree | f5a8297abae2edf6e700258e43ff7a0e2be34c2e | |
parent | 16336749ae065568fb8ce844f61da055ca2adfc9 (diff) | |
download | tests-0a80afd5c94f7d9c842e9c39dc14773e48df1781.tar.gz tests-0a80afd5c94f7d9c842e9c39dc14773e48df1781.tar.xz tests-0a80afd5c94f7d9c842e9c39dc14773e48df1781.zip |
Collect ipv4 info as well, could help in determining main interface.
-rwxr-xr-x | misc/ipv6/info/collect.sh | 1 |
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 |