commit | ae28093c650f8ee4709c1a22ff365201e2fe809a | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Fri Jun 05 20:13:21 2015 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Fri Jun 05 20:13:21 2015 +0000 |
tree | 70c6b2afa973d4e7816ff81faf042e9854fdfbc7 | |
parent | 6c8ef051f726138b07f6d1ac50c32ffcd6f7996a [diff] |
net: factor out interface index printing code * net.c (print_ifindex): New function. (printsock) [HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID]: Use it.