Commit 37b94082 authored by Pavel Emelyanov's avatar Pavel Emelyanov

tun: Use shorter name for ifr_name

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4aef1839
......@@ -292,7 +292,7 @@ static int dump_tunfile(int lfd, u32 id, const struct fd_parms *p)
* tun device. Go agead an write the respective entry.
*/
} else {
tfe.netdev = ifr.ifr_ifrn.ifrn_name;
tfe.netdev = ifr.ifr_name;
pr_info("`- attached to device %s (flags %x)\n", tfe.netdev, ifr.ifr_flags);
if (ifr.ifr_flags & IFF_DETACH_QUEUE) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment