commit | f27263d6d896d89958769ffd1139b4ca6748b865 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Tue Oct 21 08:34:08 2014 -0400 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Fri Oct 31 15:18:47 2014 +0000 |
tree | 1a220a91b0d0b02a63cf9dc392efe60fdf837608 | |
parent | 8b5fbeea993f63d15d88f58693eaf0bb207907ef [diff] |
sock: fix decoding of SIOCSIFNAME The decoding of SIOCSIFNAME is incorrect. It does not use the ifr_index field to look things up, but ifr_newname. * sock.c (sock_ioctl): Split out SIOCSIFNAME from SIOCGIFNAME and display ifr_newname.